Opened 18 years ago
Last modified 9 years ago
#11294 closed enhancement
Add cscope to editors/vim — at Initial Version
Reported by: | chris@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | ports | Version: | 1.3.2 |
Keywords: | Cc: | ||
Port: | vim |
Description
Vim can drive a cscope database, allowing you to jump around as if you had a tags file, and also allowing you to do searches without ever leaving vim. It is really quite wonderful, and this simple patch to the Portfile will accomplish it:
--- Portfile.orig 2007-01-25 17:45:22.000000000 -0500 +++ Portfile 2007-01-25 17:47:11.000000000 -0500 @@ -112,6 +112,11 @@
configure.args-append --enable-gui=gtk2 --with-x --disable-darwin depends_lib-append lib:libgtk.2:gtk2
}
+ +variant cscope { + configure.args-append --enable-cscope +} +
#variant gnome { # configure.args-delete --enable-gui=no --without-x # configure.args-append --enable-gui=gnome --with-x --disable-darwin
Patch to enable vim's cscope functionality.