diff options
author | jlam <jlam> | 2001-08-17 21:14:00 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-08-17 21:14:00 +0000 |
commit | f8078a78a9737d0da422cd83573039caaef5bf2a (patch) | |
tree | fa3d9f5ef1b3d09d7f07e8af050bff38fe74e6f4 /graphics/avifile | |
parent | 86ad0fcc12e27d3a96c20b8b1194eea910f1d67c (diff) | |
download | pkgsrc-f8078a78a9737d0da422cd83573039caaef5bf2a.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 'graphics/avifile')
-rw-r--r-- | graphics/avifile/buildlink.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/avifile/buildlink.mk b/graphics/avifile/buildlink.mk index 44a13a8e6fd..308cca66aef 100644 --- a/graphics/avifile/buildlink.mk +++ b/graphics/avifile/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.5 2001/07/27 13:33:27 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.6 2001/08/17 21:14:09 jlam Exp $ # # This Makefile fragment is included by packages that use avifile. # @@ -33,9 +33,10 @@ BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.avifile} BUILDLINK_CONFIG.avifile= ${BUILDLINK_PREFIX.avifile}/bin/avifile-config BUILDLINK_CONFIG_WRAPPER.avifile=${BUILDLINK_DIR}/bin/avifile-config -.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE) +.if defined(USE_CONFIG_WRAPPER) AVIFILE_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.avifile} CONFIGURE_ENV+= AVIFILE_CONFIG="${AVIFILE_CONFIG}" +MAKE_ENV+= AVIFILE_CONFIG="${AVIFILE_CONFIG}" .endif pre-configure: ${BUILDLINK_TARGETS.avifile} |