[89298] trunk/dports/science/openmpi/Portfile

adfernandes at macports.org adfernandes at macports.org
Mon Jan 23 17:09:44 PST 2012


Revision: 89298
          http://trac.macports.org/changeset/89298
Author:   adfernandes at macports.org
Date:     2012-01-23 17:09:44 -0800 (Mon, 23 Jan 2012)
Log Message:
-----------
science/openmpi: add gcc46 variant

Modified Paths:
--------------
    trunk/dports/science/openmpi/Portfile

Modified: trunk/dports/science/openmpi/Portfile
===================================================================
--- trunk/dports/science/openmpi/Portfile	2012-01-24 00:43:04 UTC (rev 89297)
+++ trunk/dports/science/openmpi/Portfile	2012-01-24 01:09:44 UTC (rev 89298)
@@ -74,7 +74,7 @@
 	configure.args-append --enable-debug --enable-memchecker --with-valgrind=${prefix}
 }
 
-variant gcc42 description {build mpif77 and mpif90 using gcc42} conflicts gcc43 gcc44 gcc45 g95 {
+variant gcc42 description {build mpif77 and mpif90 using gcc42} conflicts gcc43 gcc44 gcc45 gcc46 g95 {
 	configure.args-delete --disable-mpi-f77 --disable-mpi-f90
 	configure.args-append --enable-mpi-f77 --enable-mpi-f90
 	configure.f77	      ${prefix}/bin/gfortran-mp-4.2
@@ -83,7 +83,7 @@
 	lappend wrappers mpif77 mpif90
 }
 
-variant gcc43 description {build mpif77 and mpif90 using gcc43} conflicts gcc42 gcc44 gcc45 g95 {
+variant gcc43 description {build mpif77 and mpif90 using gcc43} conflicts gcc42 gcc44 gcc45 gcc46 g95 {
 	configure.args-delete --disable-mpi-f77 --disable-mpi-f90
 	configure.args-append --enable-mpi-f77 --enable-mpi-f90
 	configure.f77	      ${prefix}/bin/gfortran-mp-4.3
@@ -92,7 +92,7 @@
 	lappend wrappers mpif77 mpif90
 }
 
-variant gcc44 description {build mpif77 and mpif90 using gcc44} conflicts gcc42 gcc43 gcc45 g95 {
+variant gcc44 description {build mpif77 and mpif90 using gcc44} conflicts gcc42 gcc43 gcc45 gcc46 g95 {
 	configure.args-delete --disable-mpi-f77 --disable-mpi-f90
 	configure.args-append --enable-mpi-f77 --enable-mpi-f90
 	configure.f77	      ${prefix}/bin/gfortran-mp-4.4
@@ -101,7 +101,7 @@
 	lappend wrappers mpif77 mpif90
 }
 
-variant gcc45 description {build mpif77 and mpif90 using gcc45} conflicts gcc42 gcc43 gcc44 g95 {
+variant gcc45 description {build mpif77 and mpif90 using gcc45} conflicts gcc42 gcc43 gcc44 gcc46 g95 {
 	configure.args-delete --disable-mpi-f77 --disable-mpi-f90
 	configure.args-append --enable-mpi-f77 --enable-mpi-f90
 	configure.f77	      ${prefix}/bin/gfortran-mp-4.5
@@ -110,9 +110,18 @@
 	lappend wrappers mpif77 mpif90
 }
 
-variant g95 description {build mpif77 and mpif90 using g95} conflicts gcc42 gcc43 gcc44 gcc45 {
+variant gcc46 description {build mpif77 and mpif90 using gcc46} conflicts gcc42 gcc43 gcc44 gcc45 g95 {
 	configure.args-delete --disable-mpi-f77 --disable-mpi-f90
 	configure.args-append --enable-mpi-f77 --enable-mpi-f90
+	configure.f77	      ${prefix}/bin/gfortran-mp-4.6
+	configure.fc	      ${prefix}/bin/gfortran-mp-4.6
+	depends_lib-append    port:gcc46
+	lappend wrappers mpif77 mpif90
+}
+
+variant g95 description {build mpif77 and mpif90 using g95} conflicts gcc42 gcc43 gcc44 gcc45 gcc46 {
+	configure.args-delete --disable-mpi-f77 --disable-mpi-f90
+	configure.args-append --enable-mpi-f77 --enable-mpi-f90
 	configure.f77	      ${prefix}/bin/g95
 	configure.fc	      ${prefix}/bin/g95
 	depends_lib-append    port:g95
@@ -120,7 +129,7 @@
 }
 
 # dependents like netcdf need some form of fortran
-if {![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset g95]} {
+if {![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95]} {
     default_variants +gcc44
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120123/9cd017b6/attachment.html>


More information about the macports-changes mailing list