summaryrefslogtreecommitdiff
path: root/mk/x11.buildlink.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-10-20 03:00:16 +0000
committerjlam <jlam@pkgsrc.org>2001-10-20 03:00:16 +0000
commit82ac6112bba87b0b28862ce8e614cb3e07d4277d (patch)
tree4e8c9dcc579a2c55f1365e2fdc00d69390368da4 /mk/x11.buildlink.mk
parentc6d0fbf0c5dbce5ebbe8d8828376c3137bfded16 (diff)
downloadpkgsrc-82ac6112bba87b0b28862ce8e614cb3e07d4277d.tar.gz
Some Makefiles separate -R and the rpath directory with whitespace, so
handle that case.
Diffstat (limited to 'mk/x11.buildlink.mk')
-rw-r--r--mk/x11.buildlink.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/x11.buildlink.mk b/mk/x11.buildlink.mk
index 38ac0ad73e8..ed17f513e58 100644
--- a/mk/x11.buildlink.mk
+++ b/mk/x11.buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: x11.buildlink.mk,v 1.8 2001/10/09 18:18:52 jlam Exp $
+# $NetBSD: x11.buildlink.mk,v 1.9 2001/10/20 03:00:16 jlam Exp $
#
# This Makefile fragment is included by packages that use X11.
#
@@ -84,6 +84,6 @@ REPLACE_BUILDLINK_POST_SED+= \
-e "s|-L${BUILDLINK_X11_DIR}/|-L${X11BASE}/|g"
REPLACE_RPATH_SED+= \
- -e "s|-R${BUILDLINK_X11_DIR}/|-R${X11BASE}/|g"
+ -e "s|-R[ ]*${BUILDLINK_X11_DIR}/|-R${X11BASE}/|g"
.endif # X11_BUILDLINK_MK