From 0e9d94588a7865e7f3434750671bd6100706f063 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sat, 8 Jan 2011 17:02:51 +0100 Subject: Correction à cause de cet enfoiré de développeur de pkg++ qui casse toujours tout. :@ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xfsprogs/Pkgfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'xfsprogs') diff --git a/xfsprogs/Pkgfile b/xfsprogs/Pkgfile index d4bf142..ceae977 100644 --- a/xfsprogs/Pkgfile +++ b/xfsprogs/Pkgfile @@ -10,17 +10,15 @@ release=1 source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/$name-$version.tar.gz) build () { - if use nls; then - opts=(--enable-gettext) - else - opts=(--disable-gettext) - fi cd $name-$version; export DEBUG=-DNDEBUG; export OPTIMIZER=$CFLAGS; ./configure \ + ${CBUILD:+--build=${CBUILD}} \ + ${CHOST:+--host=${CHOST}} \ --prefix=$prefix \ --mandir=$mandir \ + $(use_enable nls gettext) \ ${opts[@]}; make; make DIST_ROOT=$PKG install install-dev; -- cgit v1.2.3-70-g09d2