aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2004-10-25 12:01:23 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2004-10-25 12:01:23 +0000
commit81cebc96ac7294d1ad70f111ab1b963d98edd876 (patch)
treedf7ad46d43ed8daa7874d500ce1112509af5f37c /misc
parentf39776d4b67bdb32035e89969b89619e3226322f (diff)
downloadports-81cebc96ac7294d1ad70f111ab1b963d98edd876.tar.gz
ports-81cebc96ac7294d1ad70f111ab1b963d98edd876.zip
Recognize absolute master directories.
Notes
Notes: svn path=/head/; revision=120136
Diffstat (limited to 'misc')
-rw-r--r--misc/porteasy/Makefile2
-rw-r--r--misc/porteasy/src/porteasy.pl3
2 files changed, 3 insertions, 2 deletions
diff --git a/misc/porteasy/Makefile b/misc/porteasy/Makefile
index 9c4c07e01e75..14a82560b08d 100644
--- a/misc/porteasy/Makefile
+++ b/misc/porteasy/Makefile
@@ -8,7 +8,7 @@
#
PORTNAME= porteasy
-PORTVERSION= 2.7.19
+PORTVERSION= 2.7.20
CATEGORIES= misc
MASTER_SITES= # none
DISTFILES= # none
diff --git a/misc/porteasy/src/porteasy.pl b/misc/porteasy/src/porteasy.pl
index 9c2a4875d304..651675e71ed7 100644
--- a/misc/porteasy/src/porteasy.pl
+++ b/misc/porteasy/src/porteasy.pl
@@ -33,7 +33,7 @@ use strict;
use Fcntl;
use Getopt::Long;
-my $VERSION = "2.7.19";
+my $VERSION = "2.7.20";
my $COPYRIGHT = "Copyright (c) 2000-2004 Dag-Erling Smørgrav. " .
"All rights reserved.";
@@ -579,6 +579,7 @@ sub find_master($) {
}
if (defined($master) && $master !~ m/WRKDIRPREFIX/) {
$master =~ s/^\$\{.CURDIR\}//;
+ $master =~ s/^\$\{PORTSDIR}/..\/../;
$master = "/$port/$master";
$master =~ s|/+|/|g;
1 while ($master =~ s|/[^\./]*/\.\./|/|);