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 | b87ac57b917c98fae86fb93cbf2c5f6f322094cc (patch) | |
tree | be6f21a1102119c0d110524a7cdc5b34719a8f58 /mk | |
parent | af3ea59f9c6608ee5d5e0a971f5366ce2f3b5e5f (diff) | |
download | pkgsrc-b87ac57b917c98fae86fb93cbf2c5f6f322094cc.tar.gz |
Don't show the currently selected options if there aren't any.
Diffstat (limited to 'mk')
-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:" |