summaryrefslogtreecommitdiff
path: root/devel/autoconf-wrapper/files/autotools-wrapper.sh
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2007-10-25 11:15:19 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2007-10-25 11:15:19 +0000
commit82d5b467eece8bdb495f88a47f41b384ebf68f83 (patch)
tree4bebebb1895d74d333755da9fda34acf34ba9403 /devel/autoconf-wrapper/files/autotools-wrapper.sh
parentFix dri build on alpha (disable -ffast-math). (diff)
Fix the case where ${bindir} is a symlink.
Notes
Notes: svn path=/head/; revision=201987
Diffstat (limited to 'devel/autoconf-wrapper/files/autotools-wrapper.sh')
-rw-r--r--devel/autoconf-wrapper/files/autotools-wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/autoconf-wrapper/files/autotools-wrapper.sh b/devel/autoconf-wrapper/files/autotools-wrapper.sh
index 571520c321d1..4fe599dfe091 100644
--- a/devel/autoconf-wrapper/files/autotools-wrapper.sh
+++ b/devel/autoconf-wrapper/files/autotools-wrapper.sh
@@ -63,7 +63,7 @@ fi
# is present both as "toolABC" and as "tool-A.BC". We take no special
# measures to handle this case.
#
-find ${bindir} -name "${tool}*[0-9]" | sed -E \
+find ${bindir}/ -name "${tool}*[0-9]" | sed -E \
-e "s@^.*/${tool}-([0-9])\\.([0-9]+)\$@\1 \2 -\1.\2@" \
-e "s@^.*/${tool}([0-9])([0-9]+)\$@\1 \2 \1\2@" | \
sort -n -k1 | sort -n -s -k2 | {