diff --git a/science/nco/Portfile b/science/nco/Portfile index a20d00bd8de2e..d145a65faf254 100644 --- a/science/nco/Portfile +++ b/science/nco/Portfile @@ -5,7 +5,7 @@ PortGroup compilers 1.0 PortGroup github 1.0 github.setup nco nco 5.0.3 -revision 1 +revision 2 platforms darwin maintainers {takeshi @tenomoto} license GPL-3 @@ -65,14 +65,7 @@ configure.args --disable-dependency-tracking \ --disable-openmp if {[gcc_variant_isset] || [clang_variant_isset]} { - default_variants +openmp -} - -if {[variant_isset atlas]} { - configure.ldflags-append -lsatlas -} else { - default_variants-append +accelerate - configure.ldflags-append -lvecLibFort + default_variants-append +openmp } post-destroot { @@ -100,12 +93,10 @@ variant mpich description {enable MPI with mpich (currently MPI is not supported variant openmpi description {enable MPI with openmpi (currently MPI is not supported)} { } -variant accelerate conflicts atlas description {use Accelerate framework for LAPACK} { - depends_lib-append port:vecLibFort -} - -variant atlas conflicts accelerate description {use Atlas for LAPACK} { - depends_lib-append port:atlas +variant esmf description {use ESMF (Earth System Modeling Framework)} { + configure.args-delete --disable-esmf + configure.args-append --enable-esmf + depends_lib-append port:esmf } livecheck.type regex