diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2004-10-25 12:01:23 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2004-10-25 12:01:23 +0000 |
commit | 81cebc96ac7294d1ad70f111ab1b963d98edd876 (patch) | |
tree | df7ad46d43ed8daa7874d500ce1112509af5f37c /ports-mgmt/porteasy | |
parent | Actually bump PORTREVISION. (diff) |
Recognize absolute master directories.
Notes
Notes:
svn path=/head/; revision=120136
Diffstat (limited to 'ports-mgmt/porteasy')
-rw-r--r-- | ports-mgmt/porteasy/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/porteasy/src/porteasy.pl | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ports-mgmt/porteasy/Makefile b/ports-mgmt/porteasy/Makefile index 9c4c07e01e75..14a82560b08d 100644 --- a/ports-mgmt/porteasy/Makefile +++ b/ports-mgmt/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/ports-mgmt/porteasy/src/porteasy.pl b/ports-mgmt/porteasy/src/porteasy.pl index 9c2a4875d304..651675e71ed7 100644 --- a/ports-mgmt/porteasy/src/porteasy.pl +++ b/ports-mgmt/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|/[^\./]*/\.\./|/|); |