Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8391247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:12:36+00:00 2026-06-09T19:12:36+00:00

For almost as long as I’ve been using vim and have known enough C,

  • 0

For almost as long as I’ve been using vim and have known enough C, I’ve customised the installed vim to remove a ‘feature’ that annoys me.
When I switched to using a Mac with macports, I achieved this by uninstalling any previous vim port, fetching the source, manually editing the source and then having Macports continue the installation, using my freshly customised 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[1] when I try this, the port install command re-fetches the code from the server, completely ignoring my source edits, builds vim with the ‘official’ source and the annoying ‘feature’ is still there.

I have looked for checksums for the source, ways to edit the checksums and command line switches to ignore them but without luck.

I have tried port patch rather than port install before editing the code but that made no difference.

I have even found myself reading the port source but my tcl is way too rusty to get far.

Any ideas about how to achieve this?
Thank you.

[1] Macports 2.0.3. I do not know for which version this used to work.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T19:12:38+00:00Added an answer on June 9, 2026 at 7:12 pm

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been using DOM for a long time and as such DOM parsing
I have a LONG .txt file that contains almost 6000 lines! Sometimes I need
Almost every major news media outlet is reporting that Apple will stop using Google
I have a long, lazy sequence that I want to reduce and test lazily.
I used to have a small chat app(which was almost working), that uses PHP,
I have two mysql databases that have almost the same structure and representing the
I have a pretty long javascript script. The problem is that in the middle
Im almost done with a homework assignment that multiplies polynomials and has to have
I'm sending a rather long URL with cURL and I'm almost positive that it's
So I have a long chunk of JavaScript on my website's administrator panel. Almost

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.