summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--acl/Pkgfile8
1 files changed, 7 insertions, 1 deletions
diff --git a/acl/Pkgfile b/acl/Pkgfile
index 5f7ebff..05e5022 100644
--- a/acl/Pkgfile
+++ b/acl/Pkgfile
@@ -13,7 +13,13 @@ build ()
cd $name-$version;
export DEBUG=-DNDEBUG;
export OPTIMIZER=$CFLAGS;
- ./configure --prefix=$prefix --bindir=/bin --libexecdir=$libdir --mandir=$mandir;
+ ./configure \
+ ${CHOST:+--build=${CHOST}} \
+ ${CTARGET:+--host=${CTARGET}} \
+ --prefix=$prefix \
+ --bindir=/bin \
+ --libexecdir=$libdir \
+ --mandir=$mandir;
make;
make DIST_ROOT=$PKG install install-lib install-dev;
install -d $PKG/lib;