summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2004-11-28 08:00:51 +0000
committerjlam <jlam>2004-11-28 08:00:51 +0000
commit9d056b59cd1b27e71aaa9804ef9d860786ff44d4 (patch)
treebe6f21a1102119c0d110524a7cdc5b34719a8f58
parent602ca92768c413a1f58c36689904d44cab6c745b (diff)
downloadpkgsrc-9d056b59cd1b27e71aaa9804ef9d860786ff44d4.tar.gz
Don't show the currently selected options if there aren't any.
-rw-r--r--mk/bsd.options.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.options.mk b/mk/bsd.options.mk
index 1ea9189fccd..312982900ba 100644
--- a/mk/bsd.options.mk
+++ b/mk/bsd.options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.options.mk,v 1.10 2004/11/27 04:50:55 jlam Exp $
+# $NetBSD: bsd.options.mk,v 1.11 2004/11/28 08:00:51 jlam Exp $
#
# This Makefile fragment provides boilerplate code for standard naming
# conventions for handling per-package build options.
@@ -189,11 +189,13 @@ ${WRKDIR}/.som_done: ${WRKDIR}
@${ECHO} ""
@${ECHO} "${PKG_SUPPORTED_OPTIONS}" | ${XARGS} -n 1 | ${SORT} | \
${_PKG_OPTIONS_WORDWRAP_FILTER}
+. if !empty(PKG_OPTIONS)
@${ECHO} ""
@${ECHO} "The currently selected options are:"
@${ECHO} ""
@${ECHO} "${PKG_OPTIONS}" | ${XARGS} -n 1 | ${SORT} | \
${_PKG_OPTIONS_WORDWRAP_FILTER}
+. endif
@${ECHO} ""
@${ECHO} "You can select which build options to use by setting the following"
@${ECHO} "variables. Their current value is shown:"