noarch_check script

Joshua Root jmr at macports.org
Tue Jul 13 14:58:00 UTC 2021


I just pushed a contrib script to audit the noarch status of installed 
ports:

<https://github.com/macports/macports-contrib/blob/master/noarch_check/noarch_check.tcl>

It will print a message for any installed port that is marked noarch but 
installed binary files (as flagged by rev-upgrade), or that is not 
marked noarch but didn't install any binary files.

There are reasons why this might not be 100% accurate or the situation 
might not actually be a problem, so double check before changing 
anything. But it should usually be a pretty good first approximation of 
what needs to be looked at.

- Josh


More information about the macports-dev mailing list