[94055] trunk/dports/math/arpack/Portfile

Ryan Schmidt ryandesign at macports.org
Thu Jun 7 14:15:43 PDT 2012


On Jun 7, 2012, at 10:13, mmoll at macports.org wrote:

> Revision: 94055
>          https://trac.macports.org/changeset/94055
> Author:   mmoll at macports.org
> Date:     2012-06-07 08:13:36 -0700 (Thu, 07 Jun 2012)
> Log Message:
> -----------
> math/arpack: change depends_build to depends_lib, remove redundant flags. closes #34369
> 
> Modified Paths:
> --------------
>    trunk/dports/math/arpack/Portfile
> 
> Modified: trunk/dports/math/arpack/Portfile
> ===================================================================
> --- trunk/dports/math/arpack/Portfile	2012-06-07 15:12:11 UTC (rev 94054)
> +++ trunk/dports/math/arpack/Portfile	2012-06-07 15:13:36 UTC (rev 94055)
> @@ -5,6 +5,7 @@
> 
> name          arpack
> version       3.1.1
> +revision      1
> categories    math
> license       BSD
> platforms     darwin
> @@ -47,14 +48,12 @@
> }
> 
> variant openmpi description {build with OpenMPI} conflicts mpich2 {
> -    depends_build port:openmpi
> +    depends_lib port:openmpi
>     configure.env-append MPIF77=${prefix}/bin/openmpif77
> }
> 
> variant mpich2 description {build with MPICH2} conflicts openmpi {
> -    depends_build port:mpich2
> -    configure.env-append MPIF77=${prefix}/bin/mpif77 
> -    configure.args-append FFLAGS='-I${prefix}/include/mpich2'
> +    depends_lib port:mpich2
> }

Unless this port is doing something tricky, you probably want to append to, not overwrite, dependencies when in a variant.




More information about the macports-dev mailing list