pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Don't show the currently selected options if there ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0dee4aa525eb
branches: trunk
changeset: 484569:0dee4aa525eb
user: jlam <jlam%pkgsrc.org@localhost>
date: Sun Nov 28 08:00:51 2004 +0000
description:
Don't show the currently selected options if there aren't any.
diffstat:
mk/bsd.options.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 5117e78412cb -r 0dee4aa525eb mk/bsd.options.mk
--- a/mk/bsd.options.mk Sun Nov 28 07:54:50 2004 +0000
+++ b/mk/bsd.options.mk Sun Nov 28 08:00:51 2004 +0000
@@ -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 @@
@${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:"
Home |
Main Index |
Thread Index |
Old Index