pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Make _show-dbginfo-configure work for packages that...
details: https://anonhg.NetBSD.org/pkgsrc/rev/618db663da99
branches: trunk
changeset: 516416:618db663da99
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Jul 20 19:00:50 2006 +0000
description:
Make _show-dbginfo-configure work for packages that don't set
CONFIGURE_ARGS. We guard against an empty CONFIGURE_ARGS to prevent
the ODE variable loop from expanding to an empty value.
diffstat:
mk/bsd.pkg.debug.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r dd2651f74f6a -r 618db663da99 mk/bsd.pkg.debug.mk
--- a/mk/bsd.pkg.debug.mk Thu Jul 20 19:00:48 2006 +0000
+++ b/mk/bsd.pkg.debug.mk Thu Jul 20 19:00:50 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.debug.mk,v 1.5 2006/07/20 17:56:27 rillig Exp $
+# $NetBSD: bsd.pkg.debug.mk,v 1.6 2006/07/20 19:00:50 jlam Exp $
#
# The `debug' target outputs the values of some commonly used variables
@@ -58,7 +58,9 @@
@${PRINTF} "\\t%s\\n" ${CONFIGURE_ENV:O}
@${PRINTF} "CONFIGURE_SCRIPT:\\n\\t%s\\n" ${CONFIGURE_SCRIPT:Q}
@${PRINTF} "CONFIGURE_ARGS:\\n"
+.if !empty(CONFIGURE_ARGS:M*)
@${CONFIGURE_ARGS:@_ca_@${PRINTF} "\\t%s\\n" ${_ca_:Q};@}
+.endif
_show-dbginfo-config.status:
.if !empty(CONFIGURE_DIRS:M*)
Home |
Main Index |
Thread Index |
Old Index