1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- fix --port support

- don't change the Makefile if MAKE_JOBS_(UN)SAFE is already present
This commit is contained in:
Philip M. Gollucci 2009-04-29 21:16:43 +00:00
parent 4dfe2a9982
commit f700032948
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=232958

View File

@ -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";