[74793] trunk/dports/math/R

Ryan Schmidt ryandesign at macports.org
Sun Jan 2 13:07:37 PST 2011


On Jan 2, 2011, at 14:59, adfernandes at macports.org wrote:

> Revision: 74793
>          http://trac.macports.org/changeset/74793
> Author:   adfernandes at macports.org
> 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
> +    }
> +}



More information about the macports-dev mailing list