summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-29 10:08:38 +0100
committerLukc <lukc@upyum.com>2010-12-29 10:08:38 +0100
commitedde6db7247c895815c744429afddd83e7b6f19e (patch)
treec0db34952d184229c7a35ce88ce92af380f7d596
parentcc370aba4e0f4da149c7f5f930ea93fdd5d94e4f (diff)
downloaddevel-edde6db7247c895815c744429afddd83e7b6f19e.tar.gz
devel-edde6db7247c895815c744429afddd83e7b6f19e.tar.bz2
devel-edde6db7247c895815c744429afddd83e7b6f19e.tar.xz
devel-edde6db7247c895815c744429afddd83e7b6f19e.zip
Recette de bison mise à jour.
-rw-r--r--bison/Pkgfile7
1 files changed, 6 insertions, 1 deletions
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