summaryrefslogtreecommitdiffstats
path: root/editors/vim/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vim/BUILD')
-rwxr-xr-xeditors/vim/BUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/editors/vim/BUILD b/editors/vim/BUILD
index ebda7a5870..9abdc58a36 100755
--- a/editors/vim/BUILD
+++ b/editors/vim/BUILD
@@ -1,13 +1,17 @@
#
# First build without the GUI
#
+if [[ $VIM_X_DISABLE == y ]]; then
+ OPTS="--without-x \
+ $OPTS"
+fi &&
+
local OLD_OPTS=$OPTS &&
OPTS="$GVIM_MULTIBYTE \
--with-features=${VIM_FEATURES} \
--disable-workshop \
--enable-gui=no \
- --without-x \
--disable-xim \
--disable-fontset \
$GVIM_HANGUL \