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

James Berry jberry at macports.org
Mon Apr 16 16:41:09 PDT 2007


I checked in yesterday a change the search path for ports.conf.

Previously, the first of the following files found was used as the  
configuration file for MacPorts:

	- File identified by the environment variable PORTSRC
	- File at ~/.portsrc
	- File at ${prefix}/etc/ports/ports.conf

I've changed this behavior. The search path is now:

	- File identified by the environment variable PORTSRC
	- File at ~/.macports/ports.conf
	- File at ${prefix}/etc/ports/ports.conf

In other words, if you have a file at ~/.portsrc, you should move it  
to ~/.macports/ports.conf.

I have a feeling this affects ~0 people.

Please let me know if you have any comments about this change.

James




More information about the macports-dev mailing list