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 /graphics/clanlib | |
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 'graphics/clanlib')
-rw-r--r-- | graphics/clanlib/buildlink.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/clanlib/buildlink.mk b/graphics/clanlib/buildlink.mk index 97e13d8f26b..c853667a9d4 100644 --- a/graphics/clanlib/buildlink.mk +++ b/graphics/clanlib/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.2 2001/07/01 22:59:22 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.3 2001/07/02 05:33:59 jlam Exp $ # # This Makefile fragment is included by packages that use ClanLib. # @@ -41,13 +41,14 @@ BUILDLINK_FILES.ClanLib+= include/ClanLib/png/* BUILDLINK_TARGETS.ClanLib= ClanLib-buildlink BUILDLINK_TARGETS.ClanLib+= ClanLib-buildlink-config-wrapper -BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.ClanLib} +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.ClanLib} BUILDLINK_CONFIG.ClanLib= ${LOCALBASE}/bin/clanlib-config BUILDLINK_CONFIG_WRAPPER.ClanLib=${BUILDLINK_DIR}/bin/clanlib-config .if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE) -CONFIGURE_ENV+= CLANLIB_CONFIG="${BUILDLINK_CONFIG_WRAPPER.ClanLib}" +CLANLIB_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.ClanLib} +CONFIGURE_ENV+= CLANLIB_CONFIG="${CLANLIB_CONFIG}" .endif pre-configure: ${BUILDLINK_TARGETS.ClanLib} |