Skip to contentSkip to conversation

vim-7.2: provide correct VIMGUI option (unbreaks build)

PATCH New Thilo Fromm 1 participant 1 message Sep 30, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vim-7.2: provide correct VIMGUI option (unbreaks build)

vim-7.2.bb sports VIMGUI="none", resulting in "--enable-gui=none". Vim configure, however, does not know about this option, does not understand that we don't want any X support, and tries to link libSM and possibly libXpm when building. This breaks the build for systems without X.

The patch changes VIMGUI to VIMGUI="no", as "--enable-gui=no" is understood by Vim configure, and behaves as expected.

---
 recipes/vim/vim_7.2.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/vim/vim_7.2.bb +2 -2
index eafbeef..7d74d08 100644
@@ -4,14 +4,14 @@ VIMVER = "72"
 VIMFEATURES ?= "big"
 
 # GUI type - gvim recipe sets "gtk2"
-VIMGUI ?= "none"
+VIMGUI ?= "no"
 
 # gvim recipes uses "--with-x"
 VIMX ?= "--without-x"
 
 require vim.inc
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 # 001-411.diff contains 411 patches fetched from upstream
 SRC_URI += "file://001-411.diff;apply=no"
Signature · 1 line
1.7.0.4