Change in ports.conf and ~/.portsrc search paths

James Berry jberry at
Mon Apr 16 17:39:05 PDT 2007

Hi Ryan,

On Apr 16, 2007, at 5:16 PM, Ryan Schmidt wrote:

> On Apr 16, 2007, at 18:41, James Berry wrote:
>> In other words, if you have a file at ~/.portsrc, you should move  
>> it to ~/.macports/ports.conf.
> Why might one use such a file? What might one put in it?

The contents are the same as what is in ${prefix}/etc/ports/ 
ports.conf. See man ports.conf(5). This is a way to have a per-user  
version that would override the system settings. Note that if the  
user-specific version is found, the system settings are not read at all.


More information about the macports-dev mailing list