portindex ignores (filters out) unchanged port
Rainer Müller
raimue at macports.org
Tue Dec 29 03:05:30 PST 2015
On 2015-12-29 00:10, René J.V. Bertin wrote:
> The Portfiles *are* scanned if and when they have to be (re)indexed;
> without that there would be no support for subports, and using a
> different portdir name would be *impossible* rather than discouraged
> (or forbidden if you prefer).
No, the Tcl interpreter is only run on the Portfile if the mtime of the
Portfile is newer than the mtime of the existing PortIndex. Just look at
the portindex source:
https://trac.macports.org/browser/trunk/base/src/port/portindex.tcl?rev=140488#L100
Rainer
More information about the macports-dev
mailing list