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 /audio/libmikmod | |
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 'audio/libmikmod')
-rw-r--r-- | audio/libmikmod/buildlink.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/libmikmod/buildlink.mk b/audio/libmikmod/buildlink.mk index b0a4d31a785..3ffa6933417 100644 --- a/audio/libmikmod/buildlink.mk +++ b/audio/libmikmod/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.3 2001/07/01 22:59:10 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.4 2001/07/02 05:33:57 jlam Exp $ # # This Makefile fragment is included by packages that use libmikmod. # @@ -32,7 +32,8 @@ BUILDLINK_CONFIG.libmikmod= ${LOCALBASE}/bin/libmikmod-config BUILDLINK_CONFIG_WRAPPER.libmikmod= ${BUILDLINK_DIR}/bin/libmikmod-config .if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE) -CONFIGURE_ENV+= LIBMIKMOD_CONFIG="${BUILDLINK_CONFIG_WRAPPER.libmikmod}" +LIBMIKMOD_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.libmikmod} +CONFIGURE_ENV+= LIBMIKMOD_CONFIG="${LIBMIKMOD_CONFIG}" .endif pre-configure: ${BUILDLINK_TARGETS.libmikmod} |