[116349] trunk/dports/devel/valgrind/Portfile
sean at macports.org
sean at macports.org
Thu Jan 23 12:12:57 PST 2014
Revision: 116349
https://trac.macports.org/changeset/116349
Author: sean at macports.org
Date: 2014-01-23 12:12:56 -0800 (Thu, 23 Jan 2014)
Log Message:
-----------
valgrind: use mpi portgroup
Modified Paths:
--------------
trunk/dports/devel/valgrind/Portfile
Modified: trunk/dports/devel/valgrind/Portfile
===================================================================
--- trunk/dports/devel/valgrind/Portfile 2014-01-23 20:12:53 UTC (rev 116348)
+++ trunk/dports/devel/valgrind/Portfile 2014-01-23 20:12:56 UTC (rev 116349)
@@ -1,10 +1,16 @@
# $Id$
PortSystem 1.0
+PortGroup mpi 1.0
+compilers.choose cc cxx
+mpi.choose
+mpi.setup
+
name valgrind
conflicts valgrind-devel
version 3.9.0
+revision 1
categories devel
platforms darwin
supported_archs i386 x86_64
@@ -69,19 +75,13 @@
}
}
-variant mpich2 requires mpich description {Compatibility variant, renamed to +mpich} {}
-variant mpich description {Use mpich for MPI support} conflicts universal {
- depends_lib-append path:bin/mpicc-mp:mpich-default
- configure.args-delete --without-mpicc
- configure.args-append --with-mpicc=${prefix}/bin/mpicc-mp
+pre-configure {
+ if {[mpi_variant_isset]} {
+ configure.args-delete --without-mpicc
+ configure.args-append --with-mpicc=${mpi.cc}
+ }
}
-variant openmpi description {Use openmpi for MPI support} conflicts universal {
- depends_lib-append port:openmpi
- configure.args-delete --without-mpicc
- configure.args-append --with-mpicc=${prefix}/bin/openmpicc
-}
-
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex ${name}-(\\d(?:\\.\\d)+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140123/5b0281e3/attachment.html>
More information about the macports-changes
mailing list