Sneaky patching source with Macports

自闭症网瘾萝莉.ら 提交于 2019-11-30 21:55:21

I would advise to create a local portfile for vim and add your changes as a patch that is applied during the build process.

  1. Create a local portfile repository: howto
  2. Copy the vim portfile directory (a directory called "vim" containing the file "Portfile" and directory "files") into your local portfile repository
  3. Create a patch with your changes of the vim source code and add it to the "files" directory.
  4. Edit your local vim Portfile to include the line patchfiles yourpatch.diff
  5. Run portindex again in your local portfile repository
  6. Install vim with port install -s vim

I hope this can help.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!