summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-11-27 20:32:41 +0000
committerjoerg <joerg@pkgsrc.org>2014-11-27 20:32:41 +0000
commit236c97c6eb33c2cab01b529aefd2bdbbd7908785 (patch)
tree36f55e78afbd3d88764b07610e29e36de4c15343 /mk
parent8fc9d15d96a4f34f69fec623400ab41463e7bc19 (diff)
downloadpkgsrc-236c97c6eb33c2cab01b529aefd2bdbbd7908785.tar.gz
Allow appending options on a per-wrappee base.
Diffstat (limited to 'mk')
-rw-r--r--mk/cwrappers.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/cwrappers.mk b/mk/cwrappers.mk
index 022c2b000c8..854b3f644eb 100644
--- a/mk/cwrappers.mk
+++ b/mk/cwrappers.mk
@@ -1,4 +1,4 @@
-# $NetBSD: cwrappers.mk,v 1.6 2014/11/27 20:31:56 joerg Exp $
+# $NetBSD: cwrappers.mk,v 1.7 2014/11/27 20:32:41 joerg Exp $
#
# This Makefile fragment implements integration of pkgtools/cwrappers.
@@ -58,6 +58,9 @@ generate-cwrappers:
. for cmd in ${_CWRAPPERS_TRANSFORM}
${RUN}echo transform=${cmd:Q} >> ${CWRAPPERS_CONFIG_DIR}/${CWRAPPERS_CONFIG.${wrappee}}
. endfor
+. for cmd in ${CWRAPPERS_APPEND.${wrappee}:U}
+ ${RUN}echo append=${cmd:Q} >> ${CWRAPPERS_CONFIG_DIR}/${CWRAPPERS_CONFIG.${wrappee}}
+. endfor
. for cmd in ${_CWRAPPERS_UNWRAP}
${RUN}echo unwrap=${cmd:Q} >> ${CWRAPPERS_CONFIG_DIR}/${CWRAPPERS_CONFIG.${wrappee}}
. endfor