[98587] trunk/dports/science/mpich2/Portfile

Ryan Schmidt ryandesign at macports.org
Tue Oct 9 07:17:08 PDT 2012


On Oct 9, 2012, at 08:20, eborisch at macports.org wrote:

> Revision: 98587
>          http://trac.macports.org//changeset/98587
> Author:   eborisch at macports.org
> Date:     2012-10-09 06:20:37 -0700 (Tue, 09 Oct 2012)
> Log Message:
> -----------
> mpich2: Fix missing -append
> 
> Modified Paths:
> --------------
>    trunk/dports/science/mpich2/Portfile
> 
> Modified: trunk/dports/science/mpich2/Portfile
> ===================================================================
> --- trunk/dports/science/mpich2/Portfile	2012-10-09 13:17:04 UTC (rev 98586)
> +++ trunk/dports/science/mpich2/Portfile	2012-10-09 13:20:37 UTC (rev 98587)
> @@ -6,7 +6,7 @@
> name                mpich2
> set pkgname         mpich2
> version             1.5
> -revision            1
> +revision            2
> # Added to keep in line with mpich2-devel
> epoch               20121008 
> license             BSD
> @@ -90,7 +90,7 @@
> configure.cppflags-delete   -I${prefix}/include
> 
> universal_variant   no
> -conflicts           lammpi
> +conflicts-append    lammpi

Is there really an activation-time conflict with lammpi? Or is it only a build-time conflict, as already known (see below)?



On Oct 9, 2012, at 07:58, eborisch at macports.org wrote:

> # Don't build if lammpi is around.
> pre-configure {
>     if {[file exists ${prefix}/etc/lammpi/lam-helpfile]} {
> -        ui_error "Cannot co-exist with lammpi; please deactivate lammpi before configuring."
> +        ui_error \
> +    "Cannot co-exist with lammpi; please deactivate lammpi before configuring."
>         return -code error
>     }
> }
> 
> pre-build {
>     if {[file exists ${prefix}/etc/lammpi/lam-helpfile]} {
> -        ui_error "Cannot co-exist with lammpi; please deactivate lammpi before building."
> +        ui_error \
> +    "Cannot co-exist with lammpi; please deactivate lammpi before building."
>         return -code error
>     }
> }

It sounds like there is a build-time conflict. The above lines should be replaced with:

PortGroup conflicts_build 1.0

conflicts_build lammpi

Done in r98590.





More information about the macports-dev mailing list