summaryrefslogtreecommitdiffstats
path: root/xfsprogs
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2011-01-08 17:02:51 +0100
committerLukc <lukc@upyum.com>2011-01-08 17:02:51 +0100
commit0e9d94588a7865e7f3434750671bd6100706f063 (patch)
tree414d6c5ff43062d56d24885a89060eb361b89517 /xfsprogs
parent6aeb1a36bfffc8fdfc2fc15e1edaf9064f4f9b80 (diff)
downloadbase-0e9d94588a7865e7f3434750671bd6100706f063.tar.gz
base-0e9d94588a7865e7f3434750671bd6100706f063.tar.bz2
base-0e9d94588a7865e7f3434750671bd6100706f063.tar.xz
base-0e9d94588a7865e7f3434750671bd6100706f063.zip
Correction à cause de cet enfoiré de développeur de pkg++ qui casse toujours tout. :@
Diffstat (limited to 'xfsprogs')
-rw-r--r--xfsprogs/Pkgfile8
1 files changed, 3 insertions, 5 deletions
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;