pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   khorben
Date:           Wed Nov  8 03:52:50 UTC 2017

Modified Files:
        pkgsrc/mk: cwrappers.mk

Log Message:
Configure "append_executable" adequately for cwrappers

Match cwrappers' expectations and place an argument per line in the
configuration. Tokenize the arguments when writing the configuration
instead of inside cwrappers.

This should fix PKGSRC_MKPIE.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/mk/cwrappers.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/cwrappers.mk
diff -u pkgsrc/mk/cwrappers.mk:1.29 pkgsrc/mk/cwrappers.mk:1.30
--- pkgsrc/mk/cwrappers.mk:1.29 Fri Aug 25 01:43:17 2017
+++ pkgsrc/mk/cwrappers.mk      Wed Nov  8 03:52:50 2017
@@ -1,4 +1,4 @@
-# $NetBSD: cwrappers.mk,v 1.29 2017/08/25 01:43:17 khorben Exp $
+# $NetBSD: cwrappers.mk,v 1.30 2017/11/08 03:52:50 khorben Exp $
 #
 # This Makefile fragment implements integration of pkgtools/cwrappers.
 
@@ -89,7 +89,9 @@ generate-cwrappers:
        ${RUN}ln -s ${CWRAPPERS_SRC_DIR}/${CWRAPPERS_CONFIG.${wrappee}}-wrapper ${WRAPPER_BINDIR}/${alias}
 .  endfor
 . if ${_PKGSRC_MKPIE} == "yes"
-       ${RUN}echo append_executable=${_MKPIE_LDFLAGS.gcc} >> ${CWRAPPERS_CONFIG_DIR}/${CWRAPPERS_CONFIG.${wrappee}}
+.  for arg in ${_MKPIE_LDFLAGS.gcc}
+       ${RUN}echo append_executable=${arg} >> ${CWRAPPERS_CONFIG_DIR}/${CWRAPPERS_CONFIG.${wrappee}}
+.  endfor
 . endif
 .endfor
 



Home | Main Index | Thread Index | Old Index