summaryrefslogtreecommitdiff
path: root/mk/buildlink3
diff options
context:
space:
mode:
authorgrant <grant>2004-01-11 03:30:20 +0000
committergrant <grant>2004-01-11 03:30:20 +0000
commitd541c8f3db19545082210aa6507b699b73666f10 (patch)
tree6c21c015974124114d2dcebc8e0d6cc22d3a15d1 /mk/buildlink3
parentf6fb6e1bee57a52bed045c20202d0fdf66f732d2 (diff)
downloadpkgsrc-d541c8f3db19545082210aa6507b699b73666f10.tar.gz
"for arg; do" -> "for arg do", as the latter is more portable. fixes
buildlink3's wrappers on Solaris.
Diffstat (limited to 'mk/buildlink3')
-rw-r--r--mk/buildlink3/gen-transform.sh4
-rw-r--r--mk/buildlink3/libtool.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/mk/buildlink3/gen-transform.sh b/mk/buildlink3/gen-transform.sh
index 73b19c56b96..60148c32ce2 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.9 2004/01/07 07:10:05 jlam Exp $
+# $NetBSD: gen-transform.sh,v 1.10 2004/01/11 03:30:20 grant Exp $
transform="@_BLNK_TRANSFORM_SEDFILE@"
untransform="@_BLNK_UNTRANSFORM_SEDFILE@"
@@ -220,7 +220,7 @@ EOF
esac
}
-for arg; do
+for arg do
case $arg in
transform:*)
gen transform "${arg#transform:}"
diff --git a/mk/buildlink3/libtool.sh b/mk/buildlink3/libtool.sh
index 6641672dc2b..02748f8aa16 100644
--- a/mk/buildlink3/libtool.sh
+++ b/mk/buildlink3/libtool.sh
@@ -1,6 +1,6 @@
#!@BUILDLINK_SHELL@
#
-# $NetBSD: libtool.sh,v 1.9 2003/11/26 12:52:30 jlam Exp $
+# $NetBSD: libtool.sh,v 1.10 2004/01/11 03:30:20 grant Exp $
Xsed='@SED@ -e 1s/^X//'
sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
@@ -45,7 +45,7 @@ mode=link
prevopt=
nonopt=
lafile=
-for arg; do
+for arg do
case $arg in
-*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;