diff options
author | jlam <jlam@pkgsrc.org> | 2001-07-20 01:54:31 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-07-20 01:54:31 +0000 |
commit | 7b1d3cb4652a3602fe1254e08c29dca10e7c0c60 (patch) | |
tree | b2e768de7c211ef606d480324d634b7befcb3c51 /devel/pth | |
parent | 342f418a3ac28ae57ca1ff09ca81aeb9fd066251 (diff) | |
download | pkgsrc-7b1d3cb4652a3602fe1254e08c29dca10e7c0c60.tar.gz |
Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>. This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed. Idea by Alistair Crooks <agc@pkgsrc.org>.
Diffstat (limited to 'devel/pth')
-rw-r--r-- | devel/pth/buildlink.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/pth/buildlink.mk b/devel/pth/buildlink.mk index 3ec7164d41c..5b63289701e 100644 --- a/devel/pth/buildlink.mk +++ b/devel/pth/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.5 2001/07/02 05:32:41 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.6 2001/07/20 01:54:40 jlam Exp $ # # This Makefile fragment is included by packages that use pth. # @@ -20,7 +20,7 @@ PTH_BUILDLINK_MK= # defined BUILDLINK_DEPENDS.pth?= pth>=1.3.2 DEPENDS+= ${BUILDLINK_DEPENDS.pth}:../../devel/pth -BUILDLINK_PREFIX.pth= ${LOCALBASE} +EVAL_PREFIX+= BUILDLINK_PREFIX.pth=pth BUILDLINK_FILES.pth= include/pth.h BUILDLINK_FILES.pth+= include/pthread.h BUILDLINK_FILES.pth+= lib/libpth.* @@ -31,10 +31,10 @@ BUILDLINK_TARGETS.pth+= pth-buildlink-config-wrapper BUILDLINK_TARGETS.pth+= pth-pthread-buildlink-config-wrapper BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.pth} -BUILDLINK_CONFIG.pth= ${LOCALBASE}/bin/pth-config +BUILDLINK_CONFIG.pth= ${BUILDLINK_PREFIX.pth}/bin/pth-config BUILDLINK_CONFIG_WRAPPER.pth= ${BUILDLINK_DIR}/bin/pth-config -BUILDLINK_CONFIG.pth-pthread= ${LOCALBASE}/bin/pthread-config +BUILDLINK_CONFIG.pth-pthread= ${BUILDLINK_PREFIX.pth}/bin/pthread-config BUILDLINK_CONFIG_WRAPPER.pth-pthread= ${BUILDLINK_DIR}/bin/pthread-config .if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE) |