pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk CONFIGURE_ARGS are processed by an ODE "for" loop, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ae4af5cc243
branches:  trunk
changeset: 516413:2ae4af5cc243
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Jul 20 17:56:27 2006 +0000

description:
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 "<".

diffstat:

 mk/bsd.pkg.debug.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 24a560ef7c4e -r 2ae4af5cc243 mk/bsd.pkg.debug.mk
--- a/mk/bsd.pkg.debug.mk       Thu Jul 20 17:53:42 2006 +0000
+++ b/mk/bsd.pkg.debug.mk       Thu Jul 20 17:56:27 2006 +0000
@@ -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 @@
        @${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*)



Home | Main Index | Thread Index | Old Index