diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-12 20:20:35 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-12 20:20:35 +0000 |
commit | bf3e309dc8d8236afbfefe3f1a947f8d1a7d5eb1 (patch) | |
tree | ebc0525cd7b08bfc6ad0a018e36ade27fb330495 | |
parent | f52615e562bee28995fd948fd07bd47f05629896 (diff) | |
download | pkgsrc-bf3e309dc8d8236afbfefe3f1a947f8d1a7d5eb1.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= |