summaryrefslogtreecommitdiff
path: root/devel/pcre
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-07-20 01:54:31 +0000
committerjlam <jlam@pkgsrc.org>2001-07-20 01:54:31 +0000
commit7b1d3cb4652a3602fe1254e08c29dca10e7c0c60 (patch)
treeb2e768de7c211ef606d480324d634b7befcb3c51 /devel/pcre
parent342f418a3ac28ae57ca1ff09ca81aeb9fd066251 (diff)
downloadpkgsrc-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/pcre')
-rw-r--r--devel/pcre/buildlink.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/pcre/buildlink.mk b/devel/pcre/buildlink.mk
index 37f50253564..3d805d30ce0 100644
--- a/devel/pcre/buildlink.mk
+++ b/devel/pcre/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.3 2001/07/02 05:33:58 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.4 2001/07/20 01:54:40 jlam Exp $
#
# This Makefile fragment is included by packages that use pcre.
#
@@ -20,7 +20,7 @@ PCRE_BUILDLINK_MK= # defined
BUILDLINK_DEPENDS.pcre?= pcre>=3.4
DEPENDS+= ${BUILDLINK_DEPENDS.pcre}:../../devel/pcre
-BUILDLINK_PREFIX.pcre= ${LOCALBASE}
+EVAL_PREFIX+= BUILDLINK_PREFIX.pcre=pcre
BUILDLINK_FILES.pcre= include/pcre.h
BUILDLINK_FILES.pcre+= include/pcreposix.h
BUILDLINK_FILES.pcre+= lib/libpcre.*
@@ -30,7 +30,7 @@ BUILDLINK_TARGETS.pcre= pcre-buildlink
BUILDLINK_TARGETS.pcre+= pcre-buildlink-config-wrapper
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.pcre}
-BUILDLINK_CONFIG.pcre= ${LOCALBASE}/bin/pcre-config
+BUILDLINK_CONFIG.pcre= ${BUILDLINK_PREFIX.pcre}/bin/pcre-config
BUILDLINK_CONFIG_WRAPPER.pcre= ${BUILDLINK_DIR}/bin/pcre-config
.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE)