From owner-svn-ports-head@FreeBSD.ORG Mon Dec 9 19:14:23 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 30A66625; Mon, 9 Dec 2013 19:14:23 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1CC9317C6; Mon, 9 Dec 2013 19:14:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB9JEMdX046523; Mon, 9 Dec 2013 19:14:22 GMT (envelope-from kwm@svn.freebsd.org) Received: (from kwm@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rB9JEMBE046520; Mon, 9 Dec 2013 19:14:22 GMT (envelope-from kwm@svn.freebsd.org) Message-Id: <201312091914.rB9JEMBE046520@svn.freebsd.org> From: Koop Mast Date: Mon, 9 Dec 2013 19:14:22 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2013 19:14:23 -0000 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} "$@" }