summaryrefslogtreecommitdiff
path: root/x11/gnome-libs
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/gnome-libs
parentaa91870439cf7d4174f5e4574ed401b302c4acc3 (diff)
downloadpkgsrc-9943bc93dbaa749514a714454c86eb24a7e7391a.tar.gz
Allow overriding of *_CONFIG variables in a package Makefile when using
USE_BUILDLINK_ONLY.
Diffstat (limited to 'x11/gnome-libs')
-rw-r--r--x11/gnome-libs/buildlink.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/x11/gnome-libs/buildlink.mk b/x11/gnome-libs/buildlink.mk
index fb13f1b5d24..0d1cf28228b 100644
--- a/x11/gnome-libs/buildlink.mk
+++ b/x11/gnome-libs/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.5 2001/07/02 05:16:30 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.6 2001/07/02 05:34:01 jlam Exp $
#
# This Makefile fragment is included by packages that use gnome-libs.
#
@@ -61,8 +61,10 @@ BUILDLINK_CONFIG_WRAPPER.gnome-libs= ${BUILDLINK_DIR}/bin/gnome-config
BUILDLINK_CONFIG_WRAPPER.libart= ${BUILDLINK_DIR}/bin/libart-config
.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE)
-CONFIGURE_ENV+= GNOME_CONFIG="${BUILDLINK_CONFIG_WRAPPER.gnome-libs}"
-CONFIGURE_ENV+= LIBART_CONFIG="${BUILDLINK_CONFIG_WRAPPER.libart}"
+GNOME_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.gnome-libs}
+LIBART_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.libart}
+CONFIGURE_ENV+= GNOME_CONFIG="${GNOME_CONFIG}"
+CONFIGURE_ENV+= LIBART_CONFIG="${LIBART_CONFIG}"
.endif
pre-configure: ${BUILDLINK_TARGETS.gnome-libs}