This seems to be one of those "if you can't make it work in the current release (1.4) then you shouldn't do it situations" Until the current release has universal support then I would not commit universalized ports. On 1 Apr 2007, at 09:46, Elias Pipping wrote:
Hi,
I noticed you removed the line
configure.universal_args ${configure.args}
the line should have read
configure.universal_args {}
which would still break 1.4 but work as expected when running the trunk.
the reason the line can't simply be removed (doing so broke zlib +universal) is that the default universal variant is used, which includes CPPFLAGS, LDFLAGS and configure.args (--disable-dependency- tracking). Whereas the flags are fine and needed, the configure.args are not:
<snip> ./configure <snip> --disable-dependency-tracking' unknown option: --disable-dependency-tracking
so i overwrote them. one way or another that has to be done - only way around it would be to override the default universal variant and add the flags in there manually, which is a pain. i tried and it doesn't work:
variant universal { set f "-arch i386 -arch ppc" configure.env-append \ CFLAGS="\${CFLAGS} -isysroot /Developer/SDKs/MacOSX10.4u.sdk $ {f}" \ LDFLAGS="\${LDFLAGS} ${f}" }
make: *** Recursive variable `CFLAGS' references itself (eventually). Stop.
Regards,
Elias _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-dev
Randall Wood rhwood@mac.com "The rules are simple: The ball is round. The game lasts 90 minutes. All the rest is just philosophy."