[33483] trunk/base/src/port1.0/portconfigure.tcl

Anders F Björklund afb at macports.org
Mon Jan 28 03:09:39 PST 2008


Ryan Schmidt wrote:

> This works on PowerPC Macs too?

Sortof. It works OK when building the default i386+ppc archs,
but if one wants to build a single "ppc" arch then it should
probably be changed into "powerpc-apple-darwin#" instead...

Something which is actually rather fun to have around, as it
can then build for earlier Mac OS X releases using the SDKs.
(Will probably add 10.1-10.3 for completeness, and geek fun)

But for the regular UB case it doesn't matter, since the
Universal Binaries will run on both platforms anyway...
Probably needs to be fixed for the "build twice and merge"

> What problem does this solve? Just curious.

It solves the (pretty rare) case where you have the configure
scripts cue off the current system name... For instance, when
they look for "*-*-darwin9*" and then do something Leopardy ?

So when compiling using the 10.4u.sdk on Leopard (for instance),
one needs to tell ./configure that we're actually targetting
an earlier release (also works for 10.1-10.3, as per above)

Otherwise, it will run with `/usr/share/libtool/config.guess`

--anders



More information about the macports-dev mailing list