Help with a local port file -- compiling

Ryan Schmidt ryandesign at macports.org
Mon Jun 18 01:59:17 UTC 2018


On Jun 16, 2018, at 19:12, Rainer Müller wrote:

> On 2018-06-17 01:47, Michael wrote:
>> How do I force port to compile a port when I have a local port file?
>> 
>> If I say "port build git", it will build with my local port file, and local patches.
>> 
>> Unfortunately, I cannot figure out how to make it install this.
> 
> If you already have the port installed with the exact same combination
> of name/version/revision/epoch, it will not be rebuilt from source.
> 
> You will either have to increase the revision in the Portfile or
> uninstall the version you already have installed.

Or force a rebuild from source and reinstallation:

sudo port clean git
sudo port -ns upgrade --force git




More information about the macports-users mailing list