summaryrefslogtreecommitdiff
path: root/audio/libaudiofile
diff options
context:
space:
mode:
authorjlam <jlam>2001-08-17 21:14:00 +0000
committerjlam <jlam>2001-08-17 21:14:00 +0000
commitb45411cc1b4b42fb5518a177990e4434a12df95e (patch)
treefa3d9f5ef1b3d09d7f07e8af050bff38fe74e6f4 /audio/libaudiofile
parentb52faff4803ac19723c0b6e91554988066e10fa8 (diff)
downloadpkgsrc-b45411cc1b4b42fb5518a177990e4434a12df95e.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 'audio/libaudiofile')
-rw-r--r--audio/libaudiofile/buildlink.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/libaudiofile/buildlink.mk b/audio/libaudiofile/buildlink.mk
index 24f86a8ed1a..004d7c4cbee 100644
--- a/audio/libaudiofile/buildlink.mk
+++ b/audio/libaudiofile/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.7 2001/07/27 13:33:19 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.8 2001/08/17 21:14:01 jlam Exp $
#
# This Makefile fragment is included by packages that use libaudiofile.
#
@@ -36,9 +36,10 @@ BUILDLINK_CONFIG.audiofile= \
BUILDLINK_CONFIG_WRAPPER.audiofile= \
${BUILDLINK_DIR}/bin/audiofile-config
-.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE)
+.if defined(USE_CONFIG_WRAPPER)
AUDIOFILE_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.audiofile}
CONFIGURE_ENV+= AUDIOFILE_CONFIG="${AUDIOFILE_CONFIG}"
+MAKE_ENV+= AUDIOFILE_CONFIG="${AUDIOFILE_CONFIG}"
.endif
pre-configure: ${BUILDLINK_TARGETS.audiofile}