aboutsummaryrefslogtreecommitdiff
path: root/devel/autoconf-wrapper
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2007-11-09 14:47:27 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2007-11-09 14:47:27 +0000
commitd435c982ea203fc3dcbe21825ffab325ffa97867 (patch)
tree88749adec95ae9da2c18bcf460b5098b52e1eaa1 /devel/autoconf-wrapper
parentd2975204d3a10c8e686f541bc84e62ec8dec66f3 (diff)
Use full path to find, sed and sort, to avoid surprises when other versions
are present (e.g. when building openwrt) Requested by: luigi@ Approved by: portmgr (pav@)
Notes
Notes: svn path=/head/; revision=202610
Diffstat (limited to 'devel/autoconf-wrapper')
-rw-r--r--devel/autoconf-wrapper/Makefile2
-rw-r--r--devel/autoconf-wrapper/files/autotools-wrapper.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/devel/autoconf-wrapper/Makefile b/devel/autoconf-wrapper/Makefile
index d389c9e43011..089448bdc224 100644
--- a/devel/autoconf-wrapper/Makefile
+++ b/devel/autoconf-wrapper/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= autoconf-wrapper
-PORTVERSION= 20071025
+PORTVERSION= 20071109
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 4fe599dfe091..e569db1cf926 100644
--- a/devel/autoconf-wrapper/files/autotools-wrapper.sh
+++ b/devel/autoconf-wrapper/files/autotools-wrapper.sh
@@ -63,10 +63,10 @@ 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 \
+/usr/bin/find ${bindir}/ -name "${tool}*[0-9]" | /usr/bin/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 | {
+ /usr/bin/sort -n -k1 | /usr/bin/sort -n -s -k2 | {
while read maj min suffix ; do
selected_version="$maj$min"
selected_suffix=$suffix