aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portupdate-scan
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-02-04 15:26:20 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-02-04 15:26:20 +0000
commit821e267c37766bdc6f7fc3a80fe4b3bbceb29a3f (patch)
treef2806606d42496e57f01c4bfcc15a3df1f0df512 /ports-mgmt/portupdate-scan
parent7df6b2f6d984824c2d2d37afe5746b41b7cbd7f1 (diff)
downloadports-821e267c37766bdc6f7fc3a80fe4b3bbceb29a3f.tar.gz
ports-821e267c37766bdc6f7fc3a80fe4b3bbceb29a3f.zip
- Update to 0.2
PR: 120251 Submitted by: Alex Stangl <alex@stangl.us> (maintainer)
Notes
Notes: svn path=/head/; revision=206710
Diffstat (limited to 'ports-mgmt/portupdate-scan')
-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