summaryrefslogtreecommitdiff
path: root/graphics/clanlib
diff options
context:
space:
mode:
authorjlam <jlam>2001-07-02 05:33:56 +0000
committerjlam <jlam>2001-07-02 05:33:56 +0000
commitf41c1e81a391fd173b815099682809f2e0dab1b1 (patch)
tree19c7e2e29dc44e4223793c407ad72432c180403f /graphics/clanlib
parentbad5795f77cbc8cc632d7753a8c5cf740811f9c4 (diff)
downloadpkgsrc-f41c1e81a391fd173b815099682809f2e0dab1b1.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.mk7
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}