summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-28 21:41:21 +0000
committerjlam <jlam@pkgsrc.org>2001-06-28 21:41:21 +0000
commit3129c05fce3ab79f23044928f39dfd334c3fcfdf (patch)
tree05cbcb32e2d37aae9af611a82184ad5153d1a30a
parent48e43d8694526edc61deecf8f1ce9bb0d3853180 (diff)
downloadpkgsrc-3129c05fce3ab79f23044928f39dfd334c3fcfdf.tar.gz
Replace for location of sdl-config in other packages' config scripts.
-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