summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-07-20 17:56:27 +0000
committerrillig <rillig@pkgsrc.org>2006-07-20 17:56:27 +0000
commit8774cc5fc55bd4b33eac08d127ff8685fbae251a (patch)
treeca04470ed5f8eabbacbf14d8dcc318db6ea8a8c5
parent3b0e8473aa3e5e459b91d9d17d022ef3b9a28878 (diff)
downloadpkgsrc-8774cc5fc55bd4b33eac08d127ff8685fbae251a.tar.gz
CONFIGURE_ARGS are processed by an ODE "for" loop, since that prevents
an empty line from being printed when the variable is empty. It also removes the need for special handling of "<".
-rw-r--r--mk/bsd.pkg.debug.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.debug.mk b/mk/bsd.pkg.debug.mk
index 0de87c4ded0..b905e0b58bd 100644
--- a/mk/bsd.pkg.debug.mk
+++ b/mk/bsd.pkg.debug.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.debug.mk,v 1.4 2006/07/20 17:40:45 jlam Exp $
+# $NetBSD: bsd.pkg.debug.mk,v 1.5 2006/07/20 17:56:27 rillig Exp $
#
# The `debug' target outputs the values of some commonly used variables
@@ -58,7 +58,7 @@ _show-dbginfo-configure:
@${PRINTF} "\\t%s\\n" ${CONFIGURE_ENV:O}
@${PRINTF} "CONFIGURE_SCRIPT:\\n\\t%s\\n" ${CONFIGURE_SCRIPT:Q}
@${PRINTF} "CONFIGURE_ARGS:\\n"
- @${PRINTF} "\\t%s\\n" ${CONFIGURE_ARGS:S,<,\\<,}
+ @${CONFIGURE_ARGS:@_ca_@${PRINTF} "\\t%s\\n" ${_ca_:Q};@}
_show-dbginfo-config.status:
.if !empty(CONFIGURE_DIRS:M*)