[113781] trunk/dports/python/py-numpy/Portfile
Ryan Schmidt
ryandesign at macports.org
Sat Nov 23 11:29:04 PST 2013
On Nov 23, 2013, at 10:39, sean at macports.org wrote:
> Revision
> 113781
> Author
> sean at macports.org
> Date
> 2013-11-23 08:39:55 -0800 (Sat, 23 Nov 2013)
> Log Message
>
> py-numpy: explicitly disable atlas linking when not using variant; fixes #41397
> Modified Paths
>
> • trunk/dports/python/py-numpy/Portfile
> Diff
>
> Modified: trunk/dports/python/py-numpy/Portfile (113780 => 113781)
>
> --- trunk/dports/python/py-numpy/Portfile 2013-11-23 16:39:52 UTC (rev 113780)
> +++ trunk/dports/python/py-numpy/Portfile 2013-11-23 16:39:55 UTC (rev 113781)
>
> @@ -7,7 +7,7 @@
>
>
>
> github.setup numpy numpy 1.8.0 v
>
> name py-numpy
>
> -
>
> +revision 1
>
> categories-append math
>
> license BSD
>
> platforms darwin
>
> @@ -44,12 +44,6 @@
>
>
>
> variant atlas description {Use the MacPorts' ATLAS libraries \
>
> instead of Apple's Accelerate framework} {
>
> - build.env-append ATLAS=${prefix}/lib \
> - LAPACK=${prefix}/lib \
> - BLAS=${prefix}/lib
> - destroot.env-append ATLAS=${prefix}/lib \
> - LAPACK=${prefix}/lib \
> - BLAS=${prefix}/lib
>
> depends_lib-append port:atlas
>
>
>
> if {[variant_isset universal]} {
>
> @@ -195,6 +189,23 @@
>
> }
>
>
>
> livecheck.type none
>
> +
> + if {[variant_isset atlas]} {
> + build.env-append ATLAS=${prefix}/lib \
> + LAPACK=${prefix}/lib \
> + BLAS=${prefix}/lib
> + destroot.env-append ATLAS=${prefix}/lib \
> + LAPACK=${prefix}/lib \
> + BLAS=${prefix}/lib
> + } else {
> + build.env-append ATLAS=None \
> + LAPACK=/usr/lib/lib \
/usr/lib/lib?
> + BLAS=/usr/lib
> + destroot.env-append ATLAS=None \
> + LAPACK=/usr/lib \
> + BLAS=/usr/lib
> + }
More information about the macports-dev
mailing list