diff options
Diffstat (limited to 'xfsprogs')
-rw-r--r-- | xfsprogs/Pkgfile | 8 |
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; |