summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig>2006-07-20 17:56:27 +0000
committerrillig <rillig>2006-07-20 17:56:27 +0000
commit085501366fdcc0931615eaab7202cb62efa3b898 (patch)
treeca04470ed5f8eabbacbf14d8dcc318db6ea8a8c5
parent24da4423b1e6ace562803091643161fdf4e330af (diff)
downloadpkgsrc-085501366fdcc0931615eaab7202cb62efa3b898.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*)