summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorjlam <jlam>2001-10-03 20:56:40 +0000
committerjlam <jlam>2001-10-03 20:56:40 +0000
commit2e51be22abf513f3fde4fcd8059c241d89c82e5e (patch)
tree6ea8cf3bb761f4715c28ac12c51846bc482df7b7 /wm
parentfb49692d888d5067424800fff566eeb9b8456603 (diff)
downloadpkgsrc-2e51be22abf513f3fde4fcd8059c241d89c82e5e.tar.gz
Substitute the real config script for the config wrapper script in
installed files. We don't want buildlink references to escape into the install directory.
Diffstat (limited to 'wm')
-rw-r--r--wm/windowmaker/buildlink.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/wm/windowmaker/buildlink.mk b/wm/windowmaker/buildlink.mk
index c51108b711c..d1868e74d76 100644
--- a/wm/windowmaker/buildlink.mk
+++ b/wm/windowmaker/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.5 2001/07/27 13:33:35 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.6 2001/10/03 20:56:53 jlam Exp $
#
# This Makefile fragment is included by packages that use windowmaker.
#
@@ -48,12 +48,18 @@ BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.windowmaker}
BUILDLINK_CONFIG.wm-wings= ${BUILDLINK_PREFIX.windowmaker}/bin/get-wings-flags
BUILDLINK_CONFIG_WRAPPER.wm-wings= ${BUILDLINK_DIR}/bin/get-wings-flags
+REPLACE_BUILDLINK_SED+= \
+ -e "s|${BUILDLINK_CONFIG_WRAPPER.wm-wings}|${BUILDLINK_CONFIG.wm-wings}|g"
BUILDLINK_CONFIG.wm-wutil= ${BUILDLINK_PREFIX.windowmaker}/bin/get-wutil-flags
BUILDLINK_CONFIG_WRAPPER.wm-wutil= ${BUILDLINK_DIR}/bin/get-wutil-flags
+REPLACE_BUILDLINK_SED+= \
+ -e "s|${BUILDLINK_CONFIG_WRAPPER.wm-wutil}|${BUILDLINK_CONFIG.wm-wutil}|g"
BUILDLINK_CONFIG.wm-wraster= ${BUILDLINK_PREFIX.windowmaker}/bin/get-wraster-flags
BUILDLINK_CONFIG_WRAPPER.wm-wraster= ${BUILDLINK_DIR}/bin/get-wraster-flags
+REPLACE_BUILDLINK_SED+= \
+ -e "s|${BUILDLINK_CONFIG_WRAPPER.wm-wraster}|${BUILDLINK_CONFIG.wm-wraster}|g"
.if defined(USE_CONFIG_WRAPPER)
GET_WINGS_FLAGS?= ${BUILDLINK_CONFIG_WRAPPER.wm-wings}