summaryrefslogtreecommitdiff
path: root/x11/gnome-libs
diff options
context:
space:
mode:
authorjlam <jlam>2001-08-17 21:14:00 +0000
committerjlam <jlam>2001-08-17 21:14:00 +0000
commitf8078a78a9737d0da422cd83573039caaef5bf2a (patch)
treefa3d9f5ef1b3d09d7f07e8af050bff38fe74e6f4 /x11/gnome-libs
parent86ad0fcc12e27d3a96c20b8b1194eea910f1d67c (diff)
downloadpkgsrc-f8078a78a9737d0da422cd83573039caaef5bf2a.tar.gz
If USE_CONFIG_WRAPPER is defined (implied by USE_BUILDLINK_ONLY), then
set FOO_CONFIG=${BUILDLINK_CONFIG_WRAPPER.foo} in both CONFIGURE_ENV and MAKE_ENV. We remove the check for GNU_CONFIGURE because if a package Makefile includes the buildlink.mk file, then it most likely wants to use the config script wrappers as well. Change suggested by Hubert Feyrer (hubertf) and Tomasz Luchowski (zuntum).
Diffstat (limited to 'x11/gnome-libs')
-rw-r--r--x11/gnome-libs/buildlink.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/gnome-libs/buildlink.mk b/x11/gnome-libs/buildlink.mk
index fd271875678..eceb13adfef 100644
--- a/x11/gnome-libs/buildlink.mk
+++ b/x11/gnome-libs/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.9 2001/07/27 13:33:37 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.10 2001/08/17 21:14:16 jlam Exp $
#
# This Makefile fragment is included by packages that use gnome-libs.
#
@@ -61,11 +61,13 @@ BUILDLINK_CONFIG.gnome-libs= ${BUILDLINK_PREFIX.gnome-libs}/bin/gnome-config
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)
+.if defined(USE_CONFIG_WRAPPER)
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}"
+MAKE_ENV+= GNOME_CONFIG="${GNOME_CONFIG}"
+MAKE_ENV+= LIBART_CONFIG="${LIBART_CONFIG}"
.endif
pre-configure: ${BUILDLINK_TARGETS.gnome-libs}