summaryrefslogtreecommitdiff
path: root/devel/libole2
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 /devel/libole2
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 'devel/libole2')
-rw-r--r--devel/libole2/buildlink.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/libole2/buildlink.mk b/devel/libole2/buildlink.mk
index eb776303627..0dc470bdfa4 100644
--- a/devel/libole2/buildlink.mk
+++ b/devel/libole2/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.1 2001/10/01 13:34:49 rh Exp $
+# $NetBSD: buildlink.mk,v 1.2 2001/10/03 20:56:44 jlam Exp $
#
# This Makefile fragment is included by packages that use libole2.
#
@@ -31,8 +31,10 @@ BUILDLINK_TARGETS.libole2= libole2-buildlink
BUILDLINK_TARGETS.libole2+= libole2-buildlink-config-wrapper
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libole2}
-BUILDLINK_CONFIG.libole2= ${BUILDLINK_PREFIX.libole2}/lib/libole2Conf.sh
+BUILDLINK_CONFIG.libole2= ${BUILDLINK_PREFIX.libole2}/lib/libole2Conf.sh
BUILDLINK_CONFIG_WRAPPER.libole2= ${BUILDLINK_DIR}/lib/libole2Conf.sh
+REPLACE_BUILDLINK_SED+= \
+ -e "s|${BUILDLINK_CONFIG_WRAPPER.libole2}|${BUILDLINK_CONFIG.libole2}|g"
.if defined(USE_CONFIG_WRAPPER)
LIBOLE2_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.libole2}