diff options
author | jlam <jlam> | 2004-02-12 20:20:35 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-02-12 20:20:35 +0000 |
commit | 4d27e4f85e0783c97141648f1f6a6777f189cc50 (patch) | |
tree | ebc0525cd7b08bfc6ad0a018e36ade27fb330495 | |
parent | acc4da1366f5309449c5bc61334fc0f9e2f48538 (diff) | |
download | pkgsrc-4d27e4f85e0783c97141648f1f6a6777f189cc50.tar.gz |
Add missing "$" that was causing the reorderlibs script to create a
variable with an exponentially increasing size. Fixes infinite loop when
building security/cyrus-saslauthd.
-rw-r--r-- | mk/buildlink3/gen-transform.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/buildlink3/gen-transform.sh b/mk/buildlink3/gen-transform.sh index 6413711ef5e..683abd85357 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.21 2004/02/12 08:28:58 jlam Exp $ +# $NetBSD: gen-transform.sh,v 1.22 2004/02/12 20:20:35 jlam Exp $ transform="@_BLNK_TRANSFORM_SEDFILE@" untransform="@_BLNK_UNTRANSFORM_SEDFILE@" @@ -130,7 +130,7 @@ EOF -l$2) case "\${_libs}" in -l$3" "*|*" "-l$3" "*) - _libs="\${_libs%%-l$3 *}-l$2 -l$3 \${_libs#*-l3 }" + _libs="\${_libs%%-l$3 *}-l$2 -l$3 \${_libs#*-l$3 }" ;; -l$3|*" "-l$3) _libs="\${_libs%%-l$3}-l$2 -l$3" @@ -308,6 +308,7 @@ EOF # Write out header for reorderlibs @CAT@ > $reorderlibs << EOF +\$echo "==> Reordering libraries: \$libs" >> \$wrapperlog prevlibs= while \$test "\$libs" != "\$prevlibs" -a -n "\$libs"; do _libs= |