Skip to content

Commit

Permalink
Merge pull request #1803 from v4hn/vim-support-no-x
Browse files Browse the repository at this point in the history
vim without GUI should not link X
  • Loading branch information
Ratler committed Mar 10, 2018
2 parents 0aec91c + 7519c56 commit f0dcac8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions editors/vim/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ OPTS+=" --disable-perlinterp --disable-luainterp --disable-rubyinterp" &&

OPTS+=" --with-features=huge --enable-cscope --enable-fail-if-missing" &&

# otherwise it defaults to auto/x+gtk
if ! in_depends $MODULE gtk+-3 && ! in_depends $MODULE gtk+-2; then
OPTS+=" --enable-gui=no --without-x"
fi &&


cd src &&

default_config &&
Expand Down
2 changes: 1 addition & 1 deletion editors/vim/DETAILS
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
WEB_SITE=http://vim.sf.net
MAINTAINER=sofar@lunar-linux.org
ENTERED=20010922
UPDATED=20161111
UPDATED=20180303
SHORT="Improved version of vi"

cat << EOF
Expand Down

0 comments on commit f0dcac8

Please sign in to comment.