diff options
author | jlam <jlam@pkgsrc.org> | 2001-08-17 21:14:00 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-08-17 21:14:00 +0000 |
commit | 7bba3453dcd5c02664d566030e3f34ec592d89f7 (patch) | |
tree | fa3d9f5ef1b3d09d7f07e8af050bff38fe74e6f4 /devel/glib | |
parent | 5618d7417c0a20c7b839d4dcae2fd6ed35e2f879 (diff) | |
download | pkgsrc-7bba3453dcd5c02664d566030e3f34ec592d89f7.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 'devel/glib')
-rw-r--r-- | devel/glib/buildlink.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/glib/buildlink.mk b/devel/glib/buildlink.mk index 2a678868380..78c074340a0 100644 --- a/devel/glib/buildlink.mk +++ b/devel/glib/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.10 2001/07/27 13:33:23 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.11 2001/08/17 21:14:04 jlam Exp $ # # This Makefile fragment is included by packages that use glib. # @@ -41,9 +41,10 @@ BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.glib} BUILDLINK_CONFIG.glib= ${BUILDLINK_PREFIX.glib}/bin/glib-config BUILDLINK_CONFIG_WRAPPER.glib= ${BUILDLINK_DIR}/bin/glib-config -.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE) +.if defined(USE_CONFIG_WRAPPER) GLIB_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.glib} CONFIGURE_ENV+= GLIB_CONFIG="${GLIB_CONFIG}" +MAKE_ENV+= GLIB_CONFIG="${GLIB_CONFIG}" .endif pre-configure: ${BUILDLINK_TARGETS.glib} |