summaryrefslogtreecommitdiff
path: root/x11/wxGTK
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-07-02 05:33:56 +0000
committerjlam <jlam@pkgsrc.org>2001-07-02 05:33:56 +0000
commit9943bc93dbaa749514a714454c86eb24a7e7391a (patch)
tree19c7e2e29dc44e4223793c407ad72432c180403f /x11/wxGTK
parentaa91870439cf7d4174f5e4574ed401b302c4acc3 (diff)
downloadpkgsrc-9943bc93dbaa749514a714454c86eb24a7e7391a.tar.gz
Allow overriding of *_CONFIG variables in a package Makefile when using
USE_BUILDLINK_ONLY.
Diffstat (limited to 'x11/wxGTK')
-rw-r--r--x11/wxGTK/buildlink.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/x11/wxGTK/buildlink.mk b/x11/wxGTK/buildlink.mk
index 50005f82195..6508670d20a 100644
--- a/x11/wxGTK/buildlink.mk
+++ b/x11/wxGTK/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.4 2001/07/02 04:41:57 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.5 2001/07/02 05:34:01 jlam Exp $
#
# This Makefile fragment is included by packages that use wxGTK.
#
@@ -49,8 +49,10 @@ BUILDLINK_CONFIG_WRAPPER.wxGTK-1= ${BUILDLINK_DIR}/bin/wx-config
BUILDLINK_CONFIG_WRAPPER.wxGTK-2= ${BUILDLINK_DIR}/bin/wxgtk-config
.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE)
-CONFIGURE_ENV+= WX_CONFIG="${BUILDLINK_CONFIG_WRAPPER.wxGTK-1}"
-CONFIGURE_ENV+= WXGTK_CONFIG="${BUILDLINK_CONFIG_WRAPPER.wxGTK-2}"
+WX_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.wxGTK-1}
+WXGTK_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.wxGTK-2}
+CONFIGURE_ENV+= WX_CONFIG="${WX_CONFIG}"
+CONFIGURE_ENV+= WXGTK_CONFIG="${WXGTK_CONFIG}"
.endif
pre-configure: ${BUILDLINK_TARGETS.wxGTK}