From 81cebc96ac7294d1ad70f111ab1b963d98edd876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Mon, 25 Oct 2004 12:01:23 +0000 Subject: Recognize absolute master directories. --- misc/porteasy/Makefile | 2 +- misc/porteasy/src/porteasy.pl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'misc/porteasy') 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|/[^\./]*/\.\./|/|); -- cgit v1.2.3