[vlc-devel] [PATCH 2/2] nettle: fix library install path on Solaris

Rafaël Carré funman at videolan.org
Wed Jul 23 12:15:16 CEST 2014


On 07/23/14 04:59, Sean McGovern wrote:
> ---
>  contrib/src/nettle/rules.mak |    5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/contrib/src/nettle/rules.mak b/contrib/src/nettle/rules.mak
> index 0da23d9..4af0f63 100644
> --- a/contrib/src/nettle/rules.mak
> +++ b/contrib/src/nettle/rules.mak
> @@ -15,6 +15,11 @@ $(TARBALLS)/nettle-$(NETTLE_VERSION).tar.gz:
>  nettle: nettle-$(NETTLE_VERSION).tar.gz .sum-nettle
>  	$(UNPACK)
>  	$(UPDATE_AUTOCONFIG)
> +ifdef HAVE_SOLARIS
> +ifeq ($(ARCH),x86_64)
> +	sed -i.orig -e 's,lib/64,lib,' nettle*/configure
> +endif
> +endif

To patch configure you should (unconditionally) patch configure.ac and
call $(RECONF)

However I wonder if it woulnd't be better solved by:
mkdir -p lib
ln -s lib/64 lib/.

Is nettle the only library installing in lib/64 ?

>  	$(MOVE)
>  
>  DEPS_nettle = gmp $(DEPS_gmp)
> 



More information about the vlc-devel mailing list