From owner-freebsd-ports@FreeBSD.ORG Tue Dec 7 23:11:02 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 898FE1065674 for ; Tue, 7 Dec 2010 23:11:02 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id 36DD98FC13 for ; Tue, 7 Dec 2010 23:11:01 +0000 (UTC) Received: from omta15.westchester.pa.mail.comcast.net ([76.96.62.87]) by qmta01.westchester.pa.mail.comcast.net with comcast id gEPa1f0091swQuc51PB23A; Tue, 07 Dec 2010 23:11:02 +0000 Received: from comcast.net ([98.203.142.76]) by omta15.westchester.pa.mail.comcast.net with comcast id gPB01f00F1f6R9u3bPB0g5; Tue, 07 Dec 2010 23:11:02 +0000 Received: by comcast.net (sSMTP sendmail emulation); Tue, 07 Dec 2010 15:10:58 -0800 Date: Tue, 7 Dec 2010 15:10:58 -0800 From: Charlie Kester To: freebsd-ports@freebsd.org Message-ID: <20101207231058.GC11485@comcast.net> Mail-Followup-To: freebsd-ports@freebsd.org References: <20101207022753.GB5042@comcast.net> <20101207154741.GA4045@straylight.ringlet.net> <20101207212702.GA11485@comcast.net> <20101208003324.3fc72118@it.buh.tecnik93.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20101208003324.3fc72118@it.buh.tecnik93.com> X-Mailer: Mutt 1.5.20 X-Composer: Vim 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: failed configure of multimedia/handbrake X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2010 23:11:02 -0000 On Tue 07 Dec 2010 at 14:33:24 PST Ion-Mihai Tetcu wrote: >On Tue, 7 Dec 2010 13:27:02 -0800 >Charlie Kester wrote: > >> On Tue 07 Dec 2010 at 07:47:41 PST Peter Pentchev wrote: >> >On Mon, Dec 06, 2010 at 06:27:54PM -0800, Charlie Kester wrote: >> >> I'm getting a strange error while trying to install the handbrake >> >> port: >> >> >> >> >> >> ===> Configuring for handbrake-0.9.3 >> >> sed: /usr/ports/multimedia/handbrake/work/HandBrake-0.9.3//usr/ports/multimedia/handbrake/work/HandBrake-0.9.3/configure: >> >> No such file or directory *** Error code 1 >> >> >> >> Stop in /usr/ports/multimedia/handbrake. >> >> >> >> Looking at the port Makefile and bsd.port.mk, I can't see why sed >> >> is being run here. Nor can I see why ${WRKSRC} is appearing twice >> >> in the path to the configure script. >> > >> >I'd say lines 110-112 of the Makefile (REINPLACE_CMD on configure) >> >are why sed is being run :) >> >> Is the post-patch target built *after* the "===> Configuring..." >> message is displayed? > >No > >> I saw those lines in the Makefile, and added an ECHO command at the >> end of the post-patch commands. It was displayed before "===> >> Configuring". > >yep. the order of the target is enforced in bsd.port.mk > So I'm back to my original puzzlement: why and where is sed being invoked by the configure target?