summaryrefslogtreecommitdiffstats
path: root/jfsutils
diff options
context:
space:
mode:
Diffstat (limited to 'jfsutils')
-rw-r--r--jfsutils/Pkgfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/jfsutils/Pkgfile b/jfsutils/Pkgfile
index b67affb..7961359 100644
--- a/jfsutils/Pkgfile
+++ b/jfsutils/Pkgfile
@@ -11,7 +11,11 @@ source=(http://jfs.sourceforge.net/project/pub/$name-$version.tar.gz)
build ()
{
cd $name-$version;
- ./configure --prefix=/ --mandir=$mandir;
+ ./configure \
+ ${CTARGET:+--host=$CTARGET} \
+ ${CHOST:+--build=$CHOST} \
+ --prefix=/ \
+ --mandir=$mandir;
make;
make DESTDIR=$PKG install;
ln -sf jfs_mkfs $PKG/sbin/mkfs.jfs;