summaryrefslogtreecommitdiff
path: root/devel/SDL
diff options
context:
space:
mode:
authorjlam <jlam>2001-06-28 21:41:21 +0000
committerjlam <jlam>2001-06-28 21:41:21 +0000
commitd59782eec37cec487da63929afb9c590a5c9cf41 (patch)
tree05cbcb32e2d37aae9af611a82184ad5153d1a30a /devel/SDL
parent19080d0e984dc2733af9e355524c8dd083d16361 (diff)
downloadpkgsrc-d59782eec37cec487da63929afb9c590a5c9cf41.tar.gz
Replace for location of sdl-config in other packages' config scripts.
Diffstat (limited to 'devel/SDL')
-rw-r--r--devel/SDL/buildlink.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/SDL/buildlink.mk b/devel/SDL/buildlink.mk
index 9762df08681..4d8cde2f424 100644
--- a/devel/SDL/buildlink.mk
+++ b/devel/SDL/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.1 2001/06/26 03:57:29 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.2 2001/06/28 21:41:21 jlam Exp $
#
# This Makefile fragment is included by packages that use SDL.
#
@@ -43,6 +43,8 @@ BUILDLINK_CONFIG_WRAPPER.SDL= ${BUILDLINK_DIR}/bin/sdl-config
CONFIGURE_ENV+= SDL_CONFIG="${BUILDLINK_CONFIG_WRAPPER.SDL}"
.endif
+REPLACE_BUILDLINK_SED+= -e "s|${BUILDLINK_CONFIG_WRAPPER.SDL}|${BUILDLINK_CONFIG.SDL}|g"
+
pre-configure: ${BUILDLINK_TARGETS.SDL}
SDL-buildlink: _BUILDLINK_USE
SDL-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE