diff options
Diffstat (limited to 'devel/SDL')
-rw-r--r-- | devel/SDL/buildlink.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/SDL/buildlink.mk b/devel/SDL/buildlink.mk index b06fd741612..ab7a215b889 100644 --- a/devel/SDL/buildlink.mk +++ b/devel/SDL/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.9 2001/07/27 13:33:22 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.10 2001/08/17 21:14:03 jlam Exp $ # # This Makefile fragment is included by packages that use SDL. # @@ -45,9 +45,10 @@ BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.SDL} BUILDLINK_CONFIG.SDL= ${BUILDLINK_PREFIX.SDL}/bin/sdl-config BUILDLINK_CONFIG_WRAPPER.SDL= ${BUILDLINK_DIR}/bin/sdl-config -.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE) +.if defined(USE_CONFIG_WRAPPER) SDL_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.SDL} CONFIGURE_ENV+= SDL_CONFIG="${SDL_CONFIG}" +MAKE_ENV+= SDL_CONFIG="${SDL_CONFIG}" .endif pre-configure: ${BUILDLINK_TARGETS.SDL} |