summaryrefslogtreecommitdiff
path: root/devel/pth
diff options
context:
space:
mode:
authorjlam <jlam>2001-07-20 01:54:31 +0000
committerjlam <jlam>2001-07-20 01:54:31 +0000
commita061d62177a164b2b5eddc6cd3f9bfa372f57c75 (patch)
treeb2e768de7c211ef606d480324d634b7befcb3c51 /devel/pth
parente8c419153ec296b9822d38955ab5255ae2ead26e (diff)
downloadpkgsrc-a061d62177a164b2b5eddc6cd3f9bfa372f57c75.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.mk8
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)