aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-11-03 22:18:37 +0800
committerdes <des@FreeBSD.org>2000-11-03 22:18:37 +0800
commitfc3d4e7afbb930e57081eeb08bfbbe9c58bcd611 (patch)
tree6e8819d2306096bdebda74ecbf90f36b53db1f32
parent2883c3cb539a8bb5b8d814d232c39a78b90bd860 (diff)
downloadfreebsd-ports-gnome-fc3d4e7afbb930e57081eeb08bfbbe9c58bcd611.tar.gz
freebsd-ports-gnome-fc3d4e7afbb930e57081eeb08bfbbe9c58bcd611.tar.zst
freebsd-ports-gnome-fc3d4e7afbb930e57081eeb08bfbbe9c58bcd611.zip
Don't build master ports unless they were explicitly required!
Pointed out by: nectar
-rw-r--r--misc/porteasy/src/porteasy.pl4
-rw-r--r--ports-mgmt/porteasy/src/porteasy.pl4
2 files changed, 4 insertions, 4 deletions
diff --git a/misc/porteasy/src/porteasy.pl b/misc/porteasy/src/porteasy.pl
index d01e3ca9bcd1..f1440a89701e 100644
--- a/misc/porteasy/src/porteasy.pl
+++ b/misc/porteasy/src/porteasy.pl
@@ -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);
}
}
diff --git a/ports-mgmt/porteasy/src/porteasy.pl b/ports-mgmt/porteasy/src/porteasy.pl
index d01e3ca9bcd1..f1440a89701e 100644
--- a/ports-mgmt/porteasy/src/porteasy.pl
+++ b/ports-mgmt/porteasy/src/porteasy.pl
@@ -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);
}
}