wok-4.x rev 10274

ncurses*: build fail if native build system is used so use the compiler machine type
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 21 21:22:47 2011 +0200 (2011-05-21)
parents 7e20ab631d28
children 3b8379165c1b
files ncurses/receipt ncursesw/receipt
line diff
     1.1 --- a/ncurses/receipt	Sat May 21 20:31:32 2011 +0200
     1.2 +++ b/ncurses/receipt	Sat May 21 21:22:47 2011 +0200
     1.3 @@ -32,7 +32,8 @@
     1.4  		--with-shared \
     1.5  		--without-debug \
     1.6  		--without-ada \
     1.7 -		$CONFIGURE_ARGS &&
     1.8 +		--build=$HOST_SYSTEM \
     1.9 +		--host=$HOST_SYSTEM  &&
    1.10  	make && make install
    1.11  }
    1.12  
     2.1 --- a/ncursesw/receipt	Sat May 21 20:31:32 2011 +0200
     2.2 +++ b/ncursesw/receipt	Sat May 21 21:22:47 2011 +0200
     2.3 @@ -17,18 +17,15 @@
     2.4  	sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
     2.5  		include/Makefile.in
     2.6  	./configure \
     2.7 -		--prefix=/usr \
     2.8  		--libdir=/lib \
     2.9  		--sysconfdir=/etc \
    2.10 -		--infodir=/usr/share/info \
    2.11 -		--mandir=/usr/share/man \
    2.12  		--with-shared \
    2.13  		--without-debug \
    2.14  		--without-ada \
    2.15  		--enable-widec \
    2.16 -		$CONFIGURE_ARGS &&
    2.17 -	make &&
    2.18 -	make DESTDIR=$PWD/_pkg install
    2.19 +		--build=$HOST_SYSTEM \
    2.20 +		--host=$HOST_SYSTEM &&
    2.21 +	make && make install
    2.22  }
    2.23  
    2.24  # Rules to gen a SliTaz package suitable for Tazpkg.