Re: [31010] trunk/dports/devel/pccts/Portfile
On Nov 13, 2007, at 13:52, source_changes@macosforge.org wrote:
+variant universal { + build.args-append CC="gcc -isysroot /Developer/SDKs/ MacOSX10.4u.sdk -arch i386 -arch ppc" +}
I think you shouldn't hard-code the sdk path or the list of architectures. There's a variable you can use for that instead: variant universal { build.args-append CC="gcc ${configure.universal_cflags}" }
On Nov 13, 2007, at 6:28 PM, Ryan Schmidt wrote:
On Nov 13, 2007, at 13:52, source_changes@macosforge.org wrote:
+variant universal { + build.args-append CC="gcc -isysroot /Developer/SDKs/ MacOSX10.4u.sdk -arch i386 -arch ppc" +}
I think you shouldn't hard-code the sdk path or the list of architectures. There's a variable you can use for that instead:
variant universal { build.args-append CC="gcc ${configure.universal_cflags}" }
especially since with the devtools that come with 10.5 the SDKs don't have to be at that path :-\ (see xcode-select -print-path) -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
participants (2)
-
Daniel J. Luke
-
Ryan Schmidt