From owner-freebsd-ports@FreeBSD.ORG Tue Dec 7 21:27:16 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 8018F1065693 for ; Tue, 7 Dec 2010 21:27:16 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta12.westchester.pa.mail.comcast.net (qmta12.westchester.pa.mail.comcast.net [76.96.59.227]) by mx1.freebsd.org (Postfix) with ESMTP id 2E6468FC0C for ; Tue, 7 Dec 2010 21:27:15 +0000 (UTC) Received: from omta12.westchester.pa.mail.comcast.net ([76.96.62.44]) by qmta12.westchester.pa.mail.comcast.net with comcast id gHQA1f0060xGWP85CMTGsM; Tue, 07 Dec 2010 21:27:16 +0000 Received: from comcast.net ([98.203.142.76]) by omta12.westchester.pa.mail.comcast.net with comcast id gMT61f00e1f6R9u3YMTBFn; Tue, 07 Dec 2010 21:27:14 +0000 Received: by comcast.net (sSMTP sendmail emulation); Tue, 07 Dec 2010 13:27:02 -0800 Date: Tue, 7 Dec 2010 13:27:02 -0800 From: Charlie Kester To: freebsd-ports@freebsd.org Message-ID: <20101207212702.GA11485@comcast.net> Mail-Followup-To: freebsd-ports@freebsd.org References: <20101207022753.GB5042@comcast.net> <20101207154741.GA4045@straylight.ringlet.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20101207154741.GA4045@straylight.ringlet.net> 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 21:27:16 -0000 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? 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". > >As to why ${WRKSRC}/configure expands to this weird thing... can you show >us the output of the following two commands: > > make -V WRKDIR -V WRKSRC -V WRKDIRPREFIX # make -V WRKDIR -V WRKSRC -V WRKDIRPREFIX /usr/ports/multimedia/handbrake/work /usr/ports/multimedia/handbrake/work/HandBrake-0.9.3 (blank line) # > > make -X -V WRKDIR -V WRKSRC -V WRKDIRPREFIX # make -V WRKDIR -V WRKSRC -V WRKDIRPREFIX ${WRKDIRPREFIX}${.CURDIR}/work ${WRKDIR}/HandBrake-0.9.3 (blank line) # > >...in the same (ports/multimedia/handbrake) directory?