summaryrefslogtreecommitdiff
path: root/devel/libnet
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-10-03 20:56:40 +0000
committerjlam <jlam@pkgsrc.org>2001-10-03 20:56:40 +0000
commitf0a4fcd3e4ae562d3f0a0ff6814ddc5ae39fae21 (patch)
tree6ea8cf3bb761f4715c28ac12c51846bc482df7b7 /devel/libnet
parentb8f8010b568f50d8da3ff0c7d587b50682ccd92f (diff)
downloadpkgsrc-f0a4fcd3e4ae562d3f0a0ff6814ddc5ae39fae21.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/libnet')
-rw-r--r--devel/libnet/buildlink.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/libnet/buildlink.mk b/devel/libnet/buildlink.mk
index 05f34791f76..cc9f3ad2f9f 100644
--- a/devel/libnet/buildlink.mk
+++ b/devel/libnet/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.4 2001/08/17 21:14:05 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.5 2001/10/03 20:56:44 jlam Exp $
#
# This Makefile fragment is included by packages that use libnet.
#
@@ -35,6 +35,8 @@ BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libnet}
BUILDLINK_CONFIG.libnet= ${BUILDLINK_PREFIX.libnet}/bin/libnet-config
BUILDLINK_CONFIG_WRAPPER.libnet=${BUILDLINK_DIR}/bin/libnet-config
+REPLACE_BUILDLINK_SED+= \
+ -e "s|${BUILDLINK_CONFIG_WRAPPER.libnet}|${BUILDLINK_CONFIG.libnet}|g"
.if defined(USE_CONFIG_WRAPPER)
LIBNET_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.libnet}