Don't build master ports unless they were explicitly required!

Pointed out by:	nectar
This commit is contained in:
Dag-Erling Smørgrav 2000-11-03 14:18:37 +00:00
parent 67f5d58373
commit 57ec16fc34
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34736
2 changed files with 4 additions and 4 deletions

View file

@ -968,7 +968,7 @@ MAIN:{
clean_tree();
} else {
foreach $port (keys(%reqd)) {
if (!($reqd{$port} & &REQ_IMPLICIT)) {
if ($reqd{$port} == &REQ_EXPLICIT) {
clean_port($port);
}
}
@ -988,7 +988,7 @@ MAIN:{
# some dependencies (most commonly XFree86) may be bogus.
if ($build || $packages) {
foreach $port (keys(%reqd)) {
if (!($reqd{$port} & &REQ_IMPLICIT)) {
if ($reqd{$port} == &REQ_EXPLICIT) {
build_port($port);
}
}

View file

@ -968,7 +968,7 @@ MAIN:{
clean_tree();
} else {
foreach $port (keys(%reqd)) {
if (!($reqd{$port} & &REQ_IMPLICIT)) {
if ($reqd{$port} == &REQ_EXPLICIT) {
clean_port($port);
}
}
@ -988,7 +988,7 @@ MAIN:{
# some dependencies (most commonly XFree86) may be bogus.
if ($build || $packages) {
foreach $port (keys(%reqd)) {
if (!($reqd{$port} & &REQ_IMPLICIT)) {
if ($reqd{$port} == &REQ_EXPLICIT) {
build_port($port);
}
}