aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2007-10-25 19:15:19 +0800
committerdes <des@FreeBSD.org>2007-10-25 19:15:19 +0800
commitfbef53b85f5e1975de1fe234d855c15f941a3d6e (patch)
tree3665499e4739ed7b5fee4bacec9ac37ee9436053
parentcca15dd02b0941533903af698104a9f294f060b6 (diff)
downloadfreebsd-ports-gnome-fbef53b85f5e1975de1fe234d855c15f941a3d6e.tar.gz
freebsd-ports-gnome-fbef53b85f5e1975de1fe234d855c15f941a3d6e.tar.zst
freebsd-ports-gnome-fbef53b85f5e1975de1fe234d855c15f941a3d6e.zip
Fix the case where ${bindir} is a symlink.
-rw-r--r--devel/autoconf-wrapper/Makefile2
-rw-r--r--devel/autoconf-wrapper/files/autotools-wrapper.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/autoconf-wrapper/Makefile b/devel/autoconf-wrapper/Makefile
index d4594b46688d..d389c9e43011 100644
--- a/devel/autoconf-wrapper/Makefile
+++ b/devel/autoconf-wrapper/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= autoconf-wrapper
-PORTVERSION= 20070404
+PORTVERSION= 20071025
CATEGORIES= devel
MASTER_SITES= # none
DISTFILES= # none
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 | {