[104874] trunk/dports/math/shogun

Ryan Schmidt ryandesign at macports.org
Fri Apr 5 03:44:38 PDT 2013


On Apr 4, 2013, at 11:51, stromnov at macports.org wrote:

> Revision: 104874
>          https://trac.macports.org/changeset/104874
> Author:   stromnov at macports.org
> Date:     2013-04-04 09:51:09 -0700 (Thu, 04 Apr 2013)
> Log Message:
> -----------
> shogun: update to version 2.1.0 (#38596, maintainer timeout)
> 
> Modified Paths:
> --------------
>    trunk/dports/math/shogun/Portfile


Oh thanks! I was trying to do this but it was difficult. Glad you got it finished.


> +variant clang33 conflicts gcc45 gcc46 gcc47 gcc48 description {Compile with clang 3.3} {
> +    configure.compiler      macports-clang-3.3
> +    depends_lib-append      port:clang-3.3 \
> +                            port:gcc47
> +    configure.args-delete   --disable-cpudetection
> +    configure.args-append   --enable-cpudetection \
> +                            --ldflags=-lgfortran
> +    configure.env-append    POSTLINKFLAGS="-L${prefix}/lib/gcc47"
> +}

Maybe you should mention in the variant description that this will also use gcc 4.7 for the fortran part; I don't think anybody would otherwise expect that.




More information about the macports-dev mailing list