From b87ac57b917c98fae86fb93cbf2c5f6f322094cc Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 28 Nov 2004 08:00:51 +0000 Subject: Don't show the currently selected options if there aren't any. --- mk/bsd.options.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mk') 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:" -- cgit v1.2.3