summaryrefslogtreecommitdiff
path: root/mk/buildlink3/libtool-fix-la
diff options
context:
space:
mode:
authorjlam <jlam>2003-08-16 11:05:36 +0000
committerjlam <jlam>2003-08-16 11:05:36 +0000
commit370efdac99bfd3975e9ba21c6344a6c1a291705d (patch)
tree00b86689ab235253432f70fb72996bf3c6555a7b /mk/buildlink3/libtool-fix-la
parent9a29786631970ecea9e5a42ca970dc1dced903ac (diff)
downloadpkgsrc-370efdac99bfd3975e9ba21c6344a6c1a291705d.tar.gz
Use commas instead of / as separator for sed expression involving paths.
Diffstat (limited to 'mk/buildlink3/libtool-fix-la')
-rw-r--r--mk/buildlink3/libtool-fix-la6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/buildlink3/libtool-fix-la b/mk/buildlink3/libtool-fix-la
index 5d61ac88a55..053d42be88f 100644
--- a/mk/buildlink3/libtool-fix-la
+++ b/mk/buildlink3/libtool-fix-la
@@ -1,4 +1,4 @@
-# $NetBSD: libtool-fix-la,v 1.1.2.2 2003/08/16 10:52:35 jlam Exp $
+# $NetBSD: libtool-fix-la,v 1.1.2.3 2003/08/16 11:05:36 jlam Exp $
#
# For *.la files, in the "relink_command" line, we make the following
# replacements:
@@ -189,7 +189,7 @@ if $test -f $lafile; then
-L@WRKSRC@/*)
;;
-L@DEPOTBASE@/*)
- i=`$echo "X$i" | $Xsed -e "s/-L@DEPOTBASE@/-L@LOCALBASE@/"`
+ i=`$echo "X$i" | $Xsed -e "s,-L@DEPOTBASE@,-L@LOCALBASE@,"`
case "$L" in
*"$i "*) ;;
*"$i") ;;
@@ -223,7 +223,7 @@ if $test -f $lafile; then
#
*.la)
dirbase=`@DIRNAME@ $i`
- dir=`$echo "X$dirbase" | $Xsed -e "s/^@DEPOTBASE@\//@LOCALBASE@\//"`
+ dir=`$echo "X$dirbase" | $Xsed -e "s,^@DEPOTBASE@/,@LOCALBASE@/,"`
case "$L" in
*"-L$dir "*) ;;
*"-L$dir") ;;