summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--reiserfsprogs/Pkgfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/reiserfsprogs/Pkgfile b/reiserfsprogs/Pkgfile
index 2c7fa38..812e0b5 100644
--- a/reiserfsprogs/Pkgfile
+++ b/reiserfsprogs/Pkgfile
@@ -11,7 +11,11 @@ source=(http://www.kernel.org/pub/linux/utils/fs/reiserfs/$name-$version.tar.bz2
build ()
{
cd $name-$version;
- ./configure --prefix=/ --mandir=$mandir;
+ ./configure \
+ ${CHOST:+--build=${CHOST}} \
+ ${CTARGET:+--host=${CTARGET}} \
+ --prefix=/ \
+ --mandir=$mandir;
make;
make DESTDIR=$PKG install;
ln -s reiserfsck $PKG/sbin/fsck.reiserfs;