Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2006 16:24:19 -0800
From:      Ade Lovett <ade@FreeBSD.org>
To:        Stephen Montgomery-Smith <stephen@math.missouri.edu>
Cc:        freebsd-ports@freebsd.org, nobutaka@freebsd.org, Ade Lovett <ade@FreeBSD.org>
Subject:   Re: Problems building libxine
Message-ID:  <0DF1EB0F-7A0E-4A2B-8204-BC7482EAAD74@FreeBSD.org>
In-Reply-To: <4400DDF4.30707@math.missouri.edu>
References:  <44009BC6.9050305@math.missouri.edu> <4400DDF4.30707@math.missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0DF1EB0F-7A0E-4A2B-8204-BC7482EAAD74>