summaryrefslogtreecommitdiff
path: root/devel/pcre
diff options
context:
space:
mode:
authorjlam <jlam>2001-07-02 05:33:56 +0000
committerjlam <jlam>2001-07-02 05:33:56 +0000
commitf817cf26198811fe639d1c329c6d48be582edece (patch)
tree19c7e2e29dc44e4223793c407ad72432c180403f /devel/pcre
parent35fd61bfb49713f4cbe044ee2382b4eef25f2dd5 (diff)
downloadpkgsrc-f817cf26198811fe639d1c329c6d48be582edece.tar.gz
Allow overriding of *_CONFIG variables in a package Makefile when using
USE_BUILDLINK_ONLY.
Diffstat (limited to 'devel/pcre')
-rw-r--r--devel/pcre/buildlink.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/pcre/buildlink.mk b/devel/pcre/buildlink.mk
index 9f660fcfd99..37f50253564 100644
--- a/devel/pcre/buildlink.mk
+++ b/devel/pcre/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.2 2001/07/01 22:59:18 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.3 2001/07/02 05:33:58 jlam Exp $
#
# This Makefile fragment is included by packages that use pcre.
#
@@ -34,7 +34,8 @@ BUILDLINK_CONFIG.pcre= ${LOCALBASE}/bin/pcre-config
BUILDLINK_CONFIG_WRAPPER.pcre= ${BUILDLINK_DIR}/bin/pcre-config
.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE)
-CONFIGURE_ENV+= PCRE_CONFIG="${BUILDLINK_CONFIG_WRAPPER.pcre}"
+PCRE_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.pcre}
+CONFIGURE_ENV+= PCRE_CONFIG="${PCRE_CONFIG}"
.endif
pre-configure: ${BUILDLINK_TARGETS.pcre}