aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-04-29 21:16:43 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-04-29 21:16:43 +0000
commitf700032948d9196c2225e5db628e6e44730d2718 (patch)
tree8fcefc35dda14ec8397339589b175756bb659362
parent4dfe2a99829154b9b1d8a315c2d5350abef74f88 (diff)
downloadports-f700032948d9196c2225e5db628e6e44730d2718.tar.gz
ports-f700032948d9196c2225e5db628e6e44730d2718.zip
Notes
-rwxr-xr-xTools/scripts/mark_safe.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/scripts/mark_safe.pl b/Tools/scripts/mark_safe.pl
index b9623a5c8039..134f5596dc59 100755
--- a/Tools/scripts/mark_safe.pl
+++ b/Tools/scripts/mark_safe.pl
@@ -121,6 +121,8 @@ sub mark {
open my $mk, '<', $mfile or die "Can't open [$mfile] b/c [$!]";
my @lines = <$mk>;
close $mk or die "Can't close [$mfile] b/c [$!]";
+
+ next if grep { /MAKE_JOBS_(?:UN)?SAFE/ } @lines;
my $i_depends = 0;
my $i_comment = 0;
@@ -157,7 +159,7 @@ sub ports_get {
my @ports = ();
if ($Ports) {
- @ports = @ARGV;
+ @ports = map { "$PORTSDIR/$_" } @ARGV;
}
else {
my $index = "$PORTSDIR/$Index";