On Jan 2, 2011, at 14:59, [email protected] wrote:

> Revision: 74793
>          http://trac.macports.org/changeset/74793
> Author:   [email protected]
> Date:     2011-01-02 12:59:21 -0800 (Sun, 02 Jan 2011)
> Log Message:
> -----------
> math/R - update to 2.12.1 and add aqua variant

Twice?

> +platform darwin 10 {
> +    variant aqua description {Build with the Quartz graphics driver} {
> +        # This variant uses a hack in "CFString.h" that does not define the 
> problematic CF_FORMAT_FUNCTION
> +        # and CF_FORMAT_ARGUMENT macros if __INTEL_COMPILER is defined. 
> Currently, that is the ONLY place
> +        # in the 10.6 SDK where the __INTEL_COMPILER macro is checked, but 
> that may change in the future.
> +        # We also need to use Apple's ObjC compiler for the single 
> "qdCocoa.m" file.
> +        configure.args-delete   --without-aqua
> +        configure.args-append   --with-aqua
> +        patchfiles-append       patch-QuartzDevice_h.diff
> +        configure.objc          /usr/bin/gcc-4.2
> +    }
> +}
> +
> +platform darwin 10 {
> +    variant aqua description {Enable quartz graphics device} {
> +        # This variant uses a hack in "CFString.h" that does not define the 
> problematic CF_FORMAT_FUNCTION
> +        # and CF_FORMAT_ARGUMENT macros if __INTEL_COMPILER is defined. 
> Currently, that is the ONLY place
> +        # in the 10.6 SDK where the __INTEL_COMPILER macro is checked, but 
> that may change in the future.
> +        # We also need to use Apple's ObjC compiler for the single 
> "qdCocoa.m" file.
> +        configure.args-delete   --without-aqua
> +        configure.args-append   --with-aqua
> +        patchfiles-append       patch-QuartzDevice_h.diff
> +        configure.objc          /usr/bin/gcc-4.2
> +    }
> +}

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to