Date: Tue, 7 Dec 2010 13:27:02 -0800 From: Charlie Kester <corky1951@comcast.net> To: freebsd-ports@freebsd.org Subject: Re: failed configure of multimedia/handbrake Message-ID: <20101207212702.GA11485@comcast.net> In-Reply-To: <20101207154741.GA4045@straylight.ringlet.net> References: <20101207022753.GB5042@comcast.net> <20101207154741.GA4045@straylight.ringlet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101207212702.GA11485>