aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-05-30 21:02:49 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-05-30 21:02:49 +0000
commit8fce177a102972fd21466d74ffef7022e65a3fca (patch)
treec5afa8e61c082feac4d7677ee87b99946fac52e8 /Mk/bsd.port.mk
parent0eaf67900ce1dba9a3d642372f9df53ec3b920e8 (diff)
downloadports-8fce177a102972fd21466d74ffef7022e65a3fca.tar.gz
ports-8fce177a102972fd21466d74ffef7022e65a3fca.zip
Notes
Diffstat (limited to 'Mk/bsd.port.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)