Almost the same way that I use vim and know enough C, I configured the installed vim to remove a function that annoys me. When I switched to using a Mac with macports, I achieved this by removing any previous vim port, extracting the source code, manually editing the source code, and then proceed with installing Macports using my newly configured source.
sh> sudo port uninstall vim sh> sudo port fetch vim sh> sudo /usr/bin/vim /opt/local/wherever/port/put/the/source/file.c sh> sudo port install vim
Now, when I try to do this, the port install
command re-extracts the code from the server, completely ignoring my original changes, builds vim with the "official" source and the annoying "function".
I searched for checksums for the source, ways to edit checksums and command line switches to ignore them, but no luck.
I tried port patch
instead of port install
before editing the code, but that didn't matter.
I even found myself reading the source of port
, but my tcl is too rusty to go far.
Any ideas on how to achieve this? Thanks.
[1] Macports 2.0.3. I do not know for which version this worked.
neniu source share