failed configure of multimedia/handbrake

Charlie Kester corky1951 at comcast.net
Tue Dec 7 23:11:02 UTC 2010


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 <corky1951 at comcast.net> 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?


More information about the freebsd-ports mailing list