pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Configure "append_executable" adequately for cwrappers
details: https://anonhg.NetBSD.org/pkgsrc/rev/4fabfec1e994
branches: trunk
changeset: 371229:4fabfec1e994
user: khorben <khorben%pkgsrc.org@localhost>
date: Wed Nov 08 03:52:50 2017 +0000
description:
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.
diffstat:
mk/cwrappers.mk | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 7edf26d882df -r 4fabfec1e994 mk/cwrappers.mk
--- a/mk/cwrappers.mk Wed Nov 08 03:20:48 2017 +0000
+++ b/mk/cwrappers.mk Wed Nov 08 03:52:50 2017 +0000
@@ -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 @@
${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