aboutsummaryrefslogtreecommitdiff
path: root/devel/autoconf-wrapper
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-12-09 19:14:22 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-12-09 19:14:22 +0000
commit9063eba780e6913281b796cf1803144435ce436a (patch)
treecf0a6b64004a34b0f252ee5e0c38132dc107169f /devel/autoconf-wrapper
parentc1bd001c5034c37e87c30093c978fdd9de8ec049 (diff)
downloadports-9063eba780e6913281b796cf1803144435ce436a.tar.gz
ports-9063eba780e6913281b796cf1803144435ce436a.zip
Notes
Diffstat (limited to 'devel/autoconf-wrapper')
-rw-r--r--devel/autoconf-wrapper/Makefile2
-rw-r--r--devel/autoconf-wrapper/files/autotools-wrapper.sh3
2 files changed, 4 insertions, 1 deletions
diff --git a/devel/autoconf-wrapper/Makefile b/devel/autoconf-wrapper/Makefile
index 8efb7f811a8c..38cf323fb2e9 100644
--- a/devel/autoconf-wrapper/Makefile
+++ b/devel/autoconf-wrapper/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME?= autoconf-wrapper
-PORTVERSION= 20130530
+PORTVERSION= 20131203
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 f3839454faa6..c95f016f4e62 100644
--- a/devel/autoconf-wrapper/files/autotools-wrapper.sh
+++ b/devel/autoconf-wrapper/files/autotools-wrapper.sh
@@ -31,6 +31,8 @@
bindir=%%PREFIX%%/bin
tool=$(basename $0)
+exec 4<&0
+
error() {
echo "$@" 1>&2
exit 1
@@ -85,5 +87,6 @@ if [ -n "${AUTOTOOLS_DEBUG}" ] ; then
"(${bindir}/${tool}-${selected_version})" 1>&2
fi
+exec 0<&4 4<&-
exec ${bindir}/${tool}-${selected_version} "$@"
}