wok-next rev 10026

gmp, mpc-library, mpfr: fix build system wirh --build and --host from CONFIGURE_ARGS
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 19 21:14:41 2011 +0200 (2011-05-19)
parents 614a9e8d90a4
children 129718f02808
files gmp/receipt mpc-library/receipt mpfr/receipt
line diff
     1.1 --- a/gmp/receipt	Thu May 19 19:09:40 2011 +0200
     1.2 +++ b/gmp/receipt	Thu May 19 21:14:41 2011 +0200
     1.3 @@ -16,9 +16,9 @@
     1.4  {	
     1.5  	cd $src
     1.6  	# gmp try to cook for 64bits system if kernel can support when using
     1.7 -	# tmp toolchain
     1.8 +	# tmp toolchain. Not only and this export does nothing !!!
     1.9  	export ABI=32
    1.10 -	./configure &&
    1.11 +	./configure $CONFIGURE_ARGS &&
    1.12  	make &&
    1.13  	# -j > 1 make install fails.
    1.14  	make -j 1 install
     2.1 --- a/mpc-library/receipt	Thu May 19 19:09:40 2011 +0200
     2.2 +++ b/mpc-library/receipt	Thu May 19 21:14:41 2011 +0200
     2.3 @@ -16,7 +16,7 @@
     2.4  compile_rules()
     2.5  {
     2.6  	cd $src
     2.7 -	./configure && make && make install
     2.8 +	./configure $CONFIGURE_ARGS && make && make install
     2.9  }
    2.10  
    2.11  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.1 --- a/mpfr/receipt	Thu May 19 19:09:40 2011 +0200
     3.2 +++ b/mpfr/receipt	Thu May 19 21:14:41 2011 +0200
     3.3 @@ -17,7 +17,8 @@
     3.4  {	
     3.5  	cd $src
     3.6  	patch -Np1 -i $stuff/$PACKAGE-$VERSION.patch 
     3.7 -	./configure && make && make install
     3.8 +	./configure $CONFIGURE_ARGS &&
     3.9 +	make && make install
    3.10  }
    3.11  
    3.12  # Rules to gen a SliTaz package suitable for Tazpkg.