diff options
author | jlam <jlam> | 2001-10-03 20:56:40 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-10-03 20:56:40 +0000 |
commit | 33b3e8210c42dc6efa830a347b56c8d2b673832d (patch) | |
tree | 6ea8cf3bb761f4715c28ac12c51846bc482df7b7 /devel/pth | |
parent | 9175d29555fa0109e86c10f35947868f15ed723c (diff) | |
download | pkgsrc-33b3e8210c42dc6efa830a347b56c8d2b673832d.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/pth')
-rw-r--r-- | devel/pth/buildlink.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/pth/buildlink.mk b/devel/pth/buildlink.mk index 23518822976..016b6fc95b4 100644 --- a/devel/pth/buildlink.mk +++ b/devel/pth/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.8 2001/08/17 21:14:07 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.9 2001/10/03 20:56:46 jlam Exp $ # # This Makefile fragment is included by packages that use pth. # @@ -34,9 +34,13 @@ BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.pth} BUILDLINK_CONFIG.pth= ${BUILDLINK_PREFIX.pth}/bin/pth-config BUILDLINK_CONFIG_WRAPPER.pth= ${BUILDLINK_DIR}/bin/pth-config +REPLACE_BUILDLINK_SED+= \ + -e "s|${BUILDLINK_CONFIG_WRAPPER.pth}|${BUILDLINK_CONFIG.pth}|g" BUILDLINK_CONFIG.pth-pthread= ${BUILDLINK_PREFIX.pth}/bin/pthread-config BUILDLINK_CONFIG_WRAPPER.pth-pthread= ${BUILDLINK_DIR}/bin/pthread-config +REPLACE_BUILDLINK_SED+= \ + -e "s|${BUILDLINK_CONFIG_WRAPPER.pthread}|${BUILDLINK_CONFIG.pthread}|g" .if defined(USE_CONFIG_WRAPPER) PTH_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.pth} |