aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-05-31 05:02:49 +0800
committerbapt <bapt@FreeBSD.org>2012-05-31 05:02:49 +0800
commit8deda2b269c637f5bc166d35e47a166a1034b020 (patch)
treedf4820a4516ec753f3f88647a088f9002d399602 /Mk
parent1d07d851521a9e0215d4f0286c77893a06abd9c8 (diff)
downloadfreebsd-ports-gnome-8deda2b269c637f5bc166d35e47a166a1034b020.tar.gz
freebsd-ports-gnome-8deda2b269c637f5bc166d35e47a166a1034b020.tar.zst
freebsd-ports-gnome-8deda2b269c637f5bc166d35e47a166a1034b020.zip
Show nothing if no options are defined as it used to be before optionsng
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index ed43d76ace4d..9bfb2dfa17a9 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -6102,6 +6102,7 @@ config-conditional: pre-config
.if !target(showconfig)
.include "${PORTSDIR}/Mk/bsd.options.desc.mk"
showconfig:
+.if !empty(ALL_OPTIONS) || !empty(OPTIONS_SINGLE) || !empty(OPTIONS_MULTI)
@${ECHO_MSG} "===> The following configuration options are available for ${PKGNAME}":
.for opt in ${ALL_OPTIONS}
. if empty(PORT_OPTIONS:M${opt})
@@ -6150,6 +6151,7 @@ showconfig:
.undef single
.undef opt
@${ECHO_MSG} "===> Use 'make config' to modify these settings"
+.endif
.endif # showconfig
.if !target(showconfig-recursive)