summaryrefslogtreecommitdiff
path: root/graphics/avifile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-07-02 05:33:56 +0000
committerjlam <jlam@pkgsrc.org>2001-07-02 05:33:56 +0000
commit9943bc93dbaa749514a714454c86eb24a7e7391a (patch)
tree19c7e2e29dc44e4223793c407ad72432c180403f /graphics/avifile
parentaa91870439cf7d4174f5e4574ed401b302c4acc3 (diff)
downloadpkgsrc-9943bc93dbaa749514a714454c86eb24a7e7391a.tar.gz
Allow overriding of *_CONFIG variables in a package Makefile when using
USE_BUILDLINK_ONLY.
Diffstat (limited to 'graphics/avifile')
-rw-r--r--graphics/avifile/buildlink.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/avifile/buildlink.mk b/graphics/avifile/buildlink.mk
index d162342cb3f..4f350ef4e12 100644
--- a/graphics/avifile/buildlink.mk
+++ b/graphics/avifile/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.2 2001/07/01 22:59:21 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.3 2001/07/02 05:33:58 jlam Exp $
#
# This Makefile fragment is included by packages that use avifile.
#
@@ -33,7 +33,8 @@ BUILDLINK_CONFIG.avifile= ${LOCALBASE}/bin/avifile-config
BUILDLINK_CONFIG_WRAPPER.avifile=${BUILDLINK_DIR}/bin/avifile-config
.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE)
-CONFIGURE_ENV+= AVIFILE_CONFIG="${BUILDLINK_CONFIG_WRAPPER.avifile}"
+AVIFILE_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.avifile}
+CONFIGURE_ENV+= AVIFILE_CONFIG="${AVIFILE_CONFIG}"
.endif
pre-configure: ${BUILDLINK_TARGETS.avifile}