Problems building libxine
Ade Lovett
ade at FreeBSD.org
Sat Feb 25 16:25:01 PST 2006
On Feb 25, 2006, at 14:45 , Stephen Montgomery-Smith wrote:
> Stephen Montgomery-Smith wrote:
>> I cannot build libxine. The problems seem to be in Makefile. First:
>> PATCH_DEPENDS= libtool15:${PORTSDIR}/devel/libtool15
>> libtool15 creates a program called libtool, not libtool15.
>> Second:
>> ${CP} ${LTMAIN} ${WRKSRC}/ltmain.sh
>> I don't see that LTMAIN is defined anywhere.
>
> ...and mixing it appropriately (removing the '15' from the first
> line and deleting the second line) seems to make libxine into an
> apparently working port.
The correct approach is to remove the PATCH_DEPENDS, add
USE_AUTOTOOLS= libtool:15:env,
and take the ${CP} ... line and break it out into a pre-configure:
target.
I forget who I discussed this with on IRC. Since libtool is not used
in the patch phase, but in the build phase, there's no reason for it
to be in PATCH_DEPENDS.
-aDe
More information about the freebsd-ports
mailing list