Does MacPorts depend on Spotlight?

Ryan Schmidt ryandesign at macports.org
Sat Nov 20 05:19:47 UTC 2021


On Nov 18, 2021, at 08:47, Eric Gallager wrote:

> Didn't MacPorts start doing `chflags hidden` on
> /opt/local/var/macports at some point to stop Spotlight from indexing
> it?

You appear to be correct, based on this commit message:

https://github.com/macports/macports-base/commit/cf42f8ab68e9ea8c6ded7ce2961d6829d73274d3

I did not realize / remember this.

I do not know if setting it to hidden actually causes Spotlight not to index it, just that the commit message claims it does.



More information about the macports-users mailing list