mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- fix --port support
- don't change the Makefile if MAKE_JOBS_(UN)SAFE is already present
This commit is contained in:
parent
4dfe2a9982
commit
f700032948
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=232958
1 changed files with 3 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Reference in a new issue