diff options
author | jlam <jlam@pkgsrc.org> | 2004-11-28 08:00:51 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-11-28 08:00:51 +0000 |
commit | 256ac493eec18c21fda6318006e599ab649a8195 (patch) | |
tree | be6f21a1102119c0d110524a7cdc5b34719a8f58 | |
parent | d501ff6b0aaacc2a537a6b097fd00b1ab02f7ad7 (diff) | |
download | pkgsrc-256ac493eec18c21fda6318006e599ab649a8195.tar.gz |
Don't show the currently selected options if there aren't any.
-rw-r--r-- | mk/bsd.options.mk | 4 |
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:" |