From f0a4fcd3e4ae562d3f0a0ff6814ddc5ae39fae21 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 3 Oct 2001 20:56:40 +0000 Subject: 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. --- devel/libusb/buildlink.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'devel/libusb') diff --git a/devel/libusb/buildlink.mk b/devel/libusb/buildlink.mk index 93bec549453..bceb5474e28 100644 --- a/devel/libusb/buildlink.mk +++ b/devel/libusb/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.2 2001/08/17 21:14:06 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.3 2001/10/03 20:56:45 jlam Exp $ # # This Makefile fragment is included by packages that use libusb. # @@ -32,7 +32,9 @@ BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libusb} BUILDLINK_CONFIG.libusb= \ ${BUILDLINK_PREFIX.libusb}/bin/libusb-config BUILDLINK_CONFIG_WRAPPER.libusb= \ - ${BUILDLINK_DIR}/bin/libusb-config + ${BUILDLINK_DIR}/bin/libusb-config +REPLACE_BUILDLINK_SED+= \ + -e "s|${BUILDLINK_CONFIG_WRAPPER.libusb}|${BUILDLINK_CONFIG.libusb}|g" .if defined(USE_CONFIG_WRAPPER) LIBUSB_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.libusb} -- cgit v1.2.3