Requiring Specific Universal_Archs

Jeremy Lavergne jeremy at lavergne.gotdns.org
Tue Oct 4 13:32:59 PDT 2011


A port I'm working on has this requirement:
 * +universal may only be {i386 ppc}
 * +universal may not be used for specific OS versions

I can use `array size ...` and two `lsearch ...` to ensure only i386 and
ppc are in the universal_archs, and can test the os.version when
+universal is active. Is that the preferred means of following the port's
requirements?




More information about the macports-dev mailing list