[31010] trunk/dports/devel/pccts/Portfile

Daniel J. Luke dluke at geeklair.net
Tue Nov 13 15:52:33 PST 2007


On Nov 13, 2007, at 6:28 PM, Ryan Schmidt wrote:
> On Nov 13, 2007, at 13:52, source_changes at 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 at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-dev/attachments/20071113/bbac9ffc/PGP.bin


More information about the macports-dev mailing list