summaryrefslogtreecommitdiffstats
path: root/vim/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'vim/Pkgfile')
-rw-r--r--vim/Pkgfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/Pkgfile b/vim/Pkgfile
index c659abd..82201fd 100644
--- a/vim/Pkgfile
+++ b/vim/Pkgfile
@@ -13,6 +13,8 @@ build ()
cd vim73/src;
unxz -c $SRC/vim-7.3.*.xz | patch -p0 -d $SRC/vim73;
./configure \
+ ${CBUILD:+--build=${CBUILD}} \
+ ${CHOST:+--host=${CHOST}} \
--prefix=$prefix \
--mandir=$mandir \
--with-vim-name=vim \
@@ -35,6 +37,8 @@ build ()
ln -sf vim.1.gz $PKG$mandir/man1/rview.1.gz;
ln -sf vim.1.gz $PKG$mandir/man1/gvim.1.gz;
./configure \
+ ${CBUILD:+--build=${CBUILD}} \
+ ${CHOST:+--host=${CHOST}} \
--prefix=/ \
--with-vim-name=vi \
--with-x=no \