diff options
Diffstat (limited to 'editors/vim/BUILD')
-rwxr-xr-x | editors/vim/BUILD | 6 |
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 \ |