diff options
author | bapt <bapt@FreeBSD.org> | 2012-05-31 05:02:49 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-05-31 05:02:49 +0800 |
commit | 8deda2b269c637f5bc166d35e47a166a1034b020 (patch) | |
tree | df4820a4516ec753f3f88647a088f9002d399602 /Mk | |
parent | 1d07d851521a9e0215d4f0286c77893a06abd9c8 (diff) | |
download | freebsd-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.mk | 2 |
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) |