summaryrefslogtreecommitdiffstats
path: root/prt-get
diff options
context:
space:
mode:
Diffstat (limited to 'prt-get')
-rw-r--r--prt-get/Pkgfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/prt-get/Pkgfile b/prt-get/Pkgfile
index 4b72cd0..5161291 100644
--- a/prt-get/Pkgfile
+++ b/prt-get/Pkgfile
@@ -12,7 +12,11 @@ build ()
{
cd ${name}-${version};
patch -p1 -i $SRC/$name.diff;
- ./configure --prefix=$prefix --mandir=$mandir;
+ ./configure \
+ ${CHOST:+--build=${CHOST}} \
+ ${CTARGET:+--host=${CTARGET}} \
+ --prefix=$prefix \
+ --mandir=$mandir;
make;
make DESTDIR=$PKG install;
install -m 644 $SRC/prt-get.conf $PKG/etc/;