summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-17 22:16:12 +0000
committerjlam <jlam@pkgsrc.org>2004-01-17 22:16:12 +0000
commitbadf8f805b28267335c9d9db646e4e95e3a8ead3 (patch)
treee1cb818c5069929968a7a59f82b61fe66aa86e84 /mk
parented041cc5ca472b9db7ee1983fa32a9e031d0c78b (diff)
downloadpkgsrc-badf8f805b28267335c9d9db646e4e95e3a8ead3.tar.gz
Be even less aggressive and just remove relative paths that start with "."
in abs-rpath.
Diffstat (limited to 'mk')
-rw-r--r--mk/buildlink3/gen-transform.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/mk/buildlink3/gen-transform.sh b/mk/buildlink3/gen-transform.sh
index 4542f3b2a32..07e831a0960 100644
--- a/mk/buildlink3/gen-transform.sh
+++ b/mk/buildlink3/gen-transform.sh
@@ -1,6 +1,6 @@
#!@BUILDLINK_SHELL@
#
-# $NetBSD: gen-transform.sh,v 1.12 2004/01/17 17:33:49 jlam Exp $
+# $NetBSD: gen-transform.sh,v 1.13 2004/01/17 22:16:12 jlam Exp $
transform="@_BLNK_TRANSFORM_SEDFILE@"
untransform="@_BLNK_UNTRANSFORM_SEDFILE@"
@@ -59,12 +59,12 @@ EOF
gen $action mangle:-R$2:-R$3
;;
abs-rpath)
- gen $action __r:-Wl,--rpath-link,[^/\$]
- gen $action __r:-Wl,--rpath,[^/\$]
- gen $action __r:-Wl,-rpath-link,[^/\$]
- gen $action __r:-Wl,-rpath,[^/\$]
- gen $action __r:-Wl,-R[^/\$]
- gen $action __r:-R[^/\$]
+ gen $action __r:-Wl,--rpath-link,\\.
+ gen $action __r:-Wl,--rpath,\\.
+ gen $action __r:-Wl,-rpath-link,\\.
+ gen $action __r:-Wl,-rpath,\\.
+ gen $action __r:-Wl,-R\\.
+ gen $action __r:-R\\.
;;
no-rpath)
gen $action _r:-Wl,--rpath-link,