Bug 107524 - editors/vim: gvim started complaining after update from ports
Summary: editors/vim: gvim started complaining after update from ports
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: David E. O'Brien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-04 16:30 UTC by Ricardo Nabinger Sanchez
Modified: 2007-01-08 19:20 UTC (History)
0 users

See Also:


Attachments
vim-menu-fix.diff (603 bytes, patch)
2007-01-06 14:25 UTC, James Seward
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ricardo Nabinger Sanchez 2007-01-04 16:30:14 UTC
Gvim, as built from ports (Makefile rev 1.293), is complaining:

% gvim
Error detected while processing /usr/local/share/vim/vim70/menu.vim:
line 1024:
E486: Pattern not found: usr

% gvim -U NONE
Error detected while processing /usr/local/share/vim/vim70/menu.vim:
line 1024:
E486: Pattern not found: usr


No special options were passed to portupgrade.
My make.conf, just in case:

==== make.conf ====
% cat /etc/make.conf
# added by use.perl 2006-07-05 09:43:44
PERL_VER=5.8.8
PERL_VERSION=5.8.8


WITHOUT_CUPS=yes
WITHOUT_NAS=yes
WITHOUT_NLS=yes
WITHOUT_GNOME=yes
WITHOUT_GTKSPELL=yes

CPUTYPE=athlon-tbird
CFLAGS+=-O2 -pipe
CXXFLAGS+=-O2 -pipe
CPPFLAGS+=-O2 -pipe

WRKDIRPREFIX=/tmp
===================


And its self information dump:

:version
VIM - Vi IMproved 7.0 (2006 May 7, compiled Jan  3 2007 19:03:38)
Included patches: 1-4, 6-26, 29-31, 33-44, 46-56, 58-64, 66-73, 75-107, 109-129, 131, 133-137, 139-155, 157-160, 162-169, 172-178
Compiled by rnsanchez@sauron.lan.box
Big version with GTK GUI.  Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent +clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info
+comments +cryptv +cscope +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path
 +find_in_path +folding -footer +fork() -gettext -hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent
+listcmds +localmap +menu +mksession +modify_fname +mouse +mouseshape +mouse_dec -mouse_gpm -mouse_jsbterm +mouse_netterm +mouse_xterm +multi_byte
 +multi_lang -mzscheme +netbeans_intg -osfiletype +path_extra -perl +postscript +printer -profile -python +quickfix +reltime +rightleft -ruby
+scrollbind +signs +smartindent -sniff +statusline -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse
+textobjects +title +toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu +windows
+writebackup +X11 +xfontset +xim +xsmp_interact +xterm_clipboard -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: cc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X
11R6/include -O2 -pipe -I/usr/local/include  -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=athlon-tbird -O2 -pipe -march=athlon-tbird  -I/usr/X11
R6/include
Linking: cc  -L/usr/X11R6/lib -L/usr/local/lib -o vim   -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk-12 -lgdk-12 -L/usr/local/lib -Wl,-E -lgmodule-12 -l
glib-12 -lXi -lXext -lm -lXt -ltermlib -liconv

How-To-Repeat: Upgrade vim from ports and just start gvim.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2007-01-04 17:52:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->obrien

Over to maintainer.
Comment 2 James Seward 2007-01-06 14:25:14 UTC
Patch for /usr/local/share/vim/vim70/menu.vim

Comment 3 Ricardo Nabinger Sanchez 2007-01-06 15:23:14 UTC
On Sat, 6 Jan 2007 14:25:14 +0000
James Seward <james@jamesoff.net> wrote:

> Patch for /usr/local/share/vim/vim70/menu.vim

Gvim is working now without complains -- thanks a lot!

Regards.

-- 
Ricardo Nabinger Sanchez     <rnsanchez@{gmail.com,wait4.org}>
Powered by FreeBSD

  "Left to themselves, things tend to go from bad to worse."
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-01-08 19:13:15 UTC
obrien      2007-01-08 19:12:58 UTC

  FreeBSD ports repository

  Modified files:
    editors/vim          Makefile 
  Log:
  Fix bug rev 1.292 introduced to Gvim - Escape the pipe in the menu files.
  
  PR:             107524
  Submitted by:   Ricardo Nabinger Sanchez<rnsanchez@wait4.org>
  Patch submitted by:     James Seward <james@jamesoff.net>
  
  Revision  Changes    Path
  1.294     +2 -2      ports/editors/vim/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 David E. O'Brien freebsd_committer freebsd_triage 2007-01-08 19:13:17 UTC
State Changed
From-To: open->closed

Committed patch.  Thanks!