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?
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"