Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2013 19:14:22 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336016 - in head/devel/autoconf-wrapper: . files
Message-ID:  <201312091914.rB9JEMBE046520@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Mon Dec  9 19:14:22 2013
New Revision: 336016
URL: http://svnweb.freebsd.org/changeset/ports/336016

Log:
  Don't let the wrapper eat stdin, which breaks autopoint.
  
  PR:		ports/184479
  Submitted by:	novel@
  Approved by:	ade@ (autotools@ hat)

Modified:
  head/devel/autoconf-wrapper/Makefile
  head/devel/autoconf-wrapper/files/autotools-wrapper.sh

Modified: head/devel/autoconf-wrapper/Makefile
==============================================================================
--- head/devel/autoconf-wrapper/Makefile	Mon Dec  9 19:02:37 2013	(r336015)
+++ head/devel/autoconf-wrapper/Makefile	Mon Dec  9 19:14:22 2013	(r336016)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME?=	autoconf-wrapper
-PORTVERSION=	20130530
+PORTVERSION=	20131203
 CATEGORIES=	devel
 MASTER_SITES=	# none
 DISTFILES=	# none

Modified: head/devel/autoconf-wrapper/files/autotools-wrapper.sh
==============================================================================
--- head/devel/autoconf-wrapper/files/autotools-wrapper.sh	Mon Dec  9 19:02:37 2013	(r336015)
+++ head/devel/autoconf-wrapper/files/autotools-wrapper.sh	Mon Dec  9 19:14:22 2013	(r336016)
@@ -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} "$@"
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312091914.rB9JEMBE046520>