On 2011-6-25 07:44 , Ryan Schmidt wrote: > I am curious if there is a good reason why variables like configure.cflags > don't contain the -arch flags. During the standard configure phase, MacPorts > does put the -arch flags into e.g. the CFLAGS environment variable, but if > you use e.g. configure.cflags yourself to fix ports that don't use a standard > configure phase, the -arch flags are missing, and must be handled separately, > both for single-arch and universal cases. This kind of conditional code is > tedious, and Toby thinks this didn't used to be required: > > https://trac.macports.org/ticket/29847#comment:6
You can't know whether a universal variant exists until you finish parsing the portfile. - Josh _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
