diff options
author | jlam <jlam@pkgsrc.org> | 2001-07-02 05:33:56 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-07-02 05:33:56 +0000 |
commit | 9943bc93dbaa749514a714454c86eb24a7e7391a (patch) | |
tree | 19c7e2e29dc44e4223793c407ad72432c180403f /x11/gtk | |
parent | aa91870439cf7d4174f5e4574ed401b302c4acc3 (diff) | |
download | pkgsrc-9943bc93dbaa749514a714454c86eb24a7e7391a.tar.gz |
Allow overriding of *_CONFIG variables in a package Makefile when using
USE_BUILDLINK_ONLY.
Diffstat (limited to 'x11/gtk')
-rw-r--r-- | x11/gtk/buildlink.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/x11/gtk/buildlink.mk b/x11/gtk/buildlink.mk index 5af7d6414b0..fdf558914c3 100644 --- a/x11/gtk/buildlink.mk +++ b/x11/gtk/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.5 2001/07/02 05:11:37 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 gtk. # @@ -41,7 +41,8 @@ BUILDLINK_CONFIG.gtk= ${X11PREFIX}/bin/gtk-config BUILDLINK_CONFIG_WRAPPER.gtk= ${BUILDLINK_DIR}/bin/gtk-config .if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE) -CONFIGURE_ENV+= GTK_CONFIG="${BUILDLINK_CONFIG_WRAPPER.gtk}" +GTK_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.gtk} +CONFIGURE_ENV+= GTK_CONFIG="${GTK_CONFIG}" .endif pre-configure: ${BUILDLINK_TARGETS.gtk} |