diff options
author | jlam <jlam> | 2001-08-17 21:14:00 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-08-17 21:14:00 +0000 |
commit | b45411cc1b4b42fb5518a177990e4434a12df95e (patch) | |
tree | fa3d9f5ef1b3d09d7f07e8af050bff38fe74e6f4 /devel/smpeg | |
parent | b52faff4803ac19723c0b6e91554988066e10fa8 (diff) | |
download | pkgsrc-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 'devel/smpeg')
-rw-r--r-- | devel/smpeg/buildlink.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/smpeg/buildlink.mk b/devel/smpeg/buildlink.mk index 497266a5ada..cdf300fc3ca 100644 --- a/devel/smpeg/buildlink.mk +++ b/devel/smpeg/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.7 2001/07/27 13:33:26 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.8 2001/08/17 21:14:08 jlam Exp $ # # This Makefile fragment is included by packages that use smpeg. # @@ -35,9 +35,10 @@ BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.smpeg} BUILDLINK_CONFIG.smpeg= ${BUILDLINK_PREFIX.smpeg}/bin/smpeg-config BUILDLINK_CONFIG_WRAPPER.smpeg= ${BUILDLINK_DIR}/bin/smpeg-config -.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE) +.if defined(USE_CONFIG_WRAPPER) SMPEG_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.smpeg} CONFIGURE_ENV+= SMPEG_CONFIG="${SMPEG_CONFIG}" +MAKE_ENV+= SMPEG_CONFIG="${SMPEG_CONFIG}" .endif pre-configure: ${BUILDLINK_TARGETS.smpeg} |