[oe] [PATCH] vim-7.2: provide correct VIMGUI option (unbreaks build)

Thilo Fromm t.fromm at dresearch.de
Thu Sep 30 14:18:08 UTC 2010


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.

Signed-off-by: Thilo Fromm <t.fromm at dresearch.de>
---
 recipes/vim/vim_7.2.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/vim/vim_7.2.bb b/recipes/vim/vim_7.2.bb
index eafbeef..7d74d08 100644
--- a/recipes/vim/vim_7.2.bb
+++ b/recipes/vim/vim_7.2.bb
@@ -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"
-- 
1.7.0.4





More information about the Openembedded-devel mailing list