pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/flavor/pkg Converted a load-time .for loop into a r...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7e71967073a9
branches: trunk
changeset: 528390:7e71967073a9
user: rillig <rillig%pkgsrc.org@localhost>
date: Tue May 01 12:41:10 2007 +0000
description:
Converted a load-time .for loop into a run-time one. This brings back
the variables CONFIGURE_ARGS, _DISTFILES, _PATCHFILES and
_PLIST_IGNORE_FILES to the +BUILD_INFO file.
Fixes PR 36228.
diffstat:
mk/flavor/pkg/metadata.mk | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (23 lines):
diff -r f02b4c1e96fd -r 7e71967073a9 mk/flavor/pkg/metadata.mk
--- a/mk/flavor/pkg/metadata.mk Tue May 01 12:24:36 2007 +0000
+++ b/mk/flavor/pkg/metadata.mk Tue May 01 12:41:10 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: metadata.mk,v 1.18 2007/04/19 16:52:03 joerg Exp $
+# $NetBSD: metadata.mk,v 1.19 2007/05/01 12:41:10 rillig Exp $
######################################################################
### The targets below are all PRIVATE.
@@ -27,11 +27,8 @@
${_BUILD_INFO_FILE}: plist
${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${.TARGET:H}
${_PKG_SILENT}${_PKG_DEBUG}${RM} -f ${.TARGET}.tmp
-.for _def_ in ${_BUILD_DEFS}
- ${_PKG_SILENT}${_PKG_DEBUG}${ECHO} ${_def_}=${${_def_}:Q} | \
- ${SED} -e 's|^PATH=[^ ]*|PATH=...|' \
- >> ${.TARGET}.tmp
-.endfor
+ ${RUN} (${_BUILD_DEFS:NPATH:@v@${ECHO} ${v}=${${v}:Q} ;@}) \
+ > ${.TARGET}.tmp
.if !empty(USE_LANGUAGES)
${_PKG_SILENT}${_PKG_DEBUG} \
${ECHO} "CC_VERSION=${CC_VERSION}" >> ${.TARGET}.tmp
Home |
Main Index |
Thread Index |
Old Index