From edde6db7247c895815c744429afddd83e7b6f19e Mon Sep 17 00:00:00 2001 From: Lukc Date: Wed, 29 Dec 2010 10:08:38 +0100 Subject: Recette de bison mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bison/Pkgfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bison/Pkgfile') diff --git a/bison/Pkgfile b/bison/Pkgfile index 2d5f714..22cf536 100644 --- a/bison/Pkgfile +++ b/bison/Pkgfile @@ -11,7 +11,12 @@ source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2) build () { cd $name-$version; - ./configure --prefix=$prefix --mandir=$mandir $(use_enable nls); + ./configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ + --prefix=$prefix \ + --mandir=$mandir \ + $(use_enable nls); make; make DESTDIR=$PKG install; #if ! use info; then -- cgit v1.2.3-70-g09d2