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