aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports-mgmt/portupdate-scan/Makefile2
-rw-r--r--ports-mgmt/portupdate-scan/src/portupdate-scan4
2 files changed, 3 insertions, 3 deletions
diff --git a/ports-mgmt/portupdate-scan/Makefile b/ports-mgmt/portupdate-scan/Makefile
index 3398a2454610..76583e466cce 100644
--- a/ports-mgmt/portupdate-scan/Makefile
+++ b/ports-mgmt/portupdate-scan/Makefile
@@ -7,7 +7,7 @@
# This port is self contained in the files directory.
PORTNAME= portupdate-scan
-PORTVERSION= 0.1
+PORTVERSION= 0.2
CATEGORIES= ports-mgmt
MASTER_SITES= # none
DISTFILES= # none
diff --git a/ports-mgmt/portupdate-scan/src/portupdate-scan b/ports-mgmt/portupdate-scan/src/portupdate-scan
index bff797c883ec..00a48799a3c5 100644
--- a/ports-mgmt/portupdate-scan/src/portupdate-scan
+++ b/ports-mgmt/portupdate-scan/src/portupdate-scan
@@ -19,7 +19,7 @@
# Intended to be used prior to upgrading ports
# Usage: portupdatescan [-dDhmuvV] [--help] [--version]
# Created: 2006/12/21 Alex Stangl
-# Last updated: 2007/11/09 Alex Stangl
+# Last updated: 2008/02/04 Alex Stangl INDEX computation change from Tom Doherty
use Text::ParseWords;
use Getopt::Std;
@@ -54,7 +54,7 @@ VERSION_MESSAGE() && exit if $opt{V};
my $portsdir = $opt{D} || "/usr/ports"; # ports directory
-my $portIndexFile = "$portsdir/INDEX"; # port index file
+my $portIndexFile = "$portsdir/" . `make -f $portsdir/Makefile -V INDEXFILE`; # port index file
my $movedFile = "$portsdir/MOVED"; # file w/ port renames/deletes
my $updatingFile = "$portsdir/UPDATING"; # file w/ ports update news