diff options
author | Lukc <lukc@upyum.com> | 2010-12-29 10:16:05 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-29 10:16:05 +0100 |
commit | 804c8b8e08930af7d14c8477e8026d281692314f (patch) | |
tree | bb18f9bace51028ce52bea9a1c491fbdcbe42b34 | |
parent | edde6db7247c895815c744429afddd83e7b6f19e (diff) | |
download | devel-804c8b8e08930af7d14c8477e8026d281692314f.tar.gz devel-804c8b8e08930af7d14c8477e8026d281692314f.tar.bz2 devel-804c8b8e08930af7d14c8477e8026d281692314f.tar.xz devel-804c8b8e08930af7d14c8477e8026d281692314f.zip |
Recette de flex mise à jour en aveugle. \o/
* La compilation croisée pour x86_64 a échoué…
-rw-r--r-- | flex/Pkgfile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/flex/Pkgfile b/flex/Pkgfile index 0645a06..3da81b4 100644 --- a/flex/Pkgfile +++ b/flex/Pkgfile @@ -12,10 +12,17 @@ build () { cd $name-$version; patch -p1 -i $SRC/$name-$version-gcc44-1.patch; - ./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; ln -sf flex $PKG$prefix/bin/lex; ln -sf flex.1.gz $PKG$mandir/man1/lex.1.gz; - rm -rf $PKG$prefix/info + if ! use info; then + rm -rf $PKG$prefix/info + fi } |