scope of "local" PortGroup definition files

Lawrence Velázquez larryv at macports.org
Fri Jan 9 07:38:46 PST 2015


On Jan 9, 2015, at 7:32 AM, René J.V. Bertin <rjvbertin at gmail.com> wrote:

> Exactly as I feared, my changes to the qt4, qt5 and kde4 portgroups need to be copied to the portgroup directory in the default tree if they are to be visible to all ports and not just to the ports in the local repository.
> 
> Which means that every selfupdate will undo any changes you might have applied.

As Bradley intimated, you might be better off using a Subversion (or git-svn, if you're up for it) checkout as your default tree.

> Out of curiosity, what if I set my local repository to be the default? Will selfupdate update that tree, or will it continue to update the one under ${prefix}/var/macports/source/.... ?

`port sync` updates all sources that aren't marked "nosync" in sources.conf.

vq


More information about the macports-dev mailing list