[95714] trunk/dports/science/netcdf-fortran/Portfile
takeshi at macports.org
takeshi at macports.org
Thu Jul 19 18:23:27 PDT 2012
Revision: 95714
https://trac.macports.org/changeset/95714
Author: takeshi at macports.org
Date: 2012-07-19 18:23:25 -0700 (Thu, 19 Jul 2012)
Log Message:
-----------
netcdf-fortran: adding gcc47 variant
Modified Paths:
--------------
trunk/dports/science/netcdf-fortran/Portfile
Modified: trunk/dports/science/netcdf-fortran/Portfile
===================================================================
--- trunk/dports/science/netcdf-fortran/Portfile 2012-07-20 00:58:04 UTC (rev 95713)
+++ trunk/dports/science/netcdf-fortran/Portfile 2012-07-20 01:23:25 UTC (rev 95714)
@@ -6,7 +6,7 @@
name netcdf-fortran
version 4.2
-revision 3
+revision 4
maintainers takeshi openmaintainer
platforms darwin
categories science
@@ -82,35 +82,41 @@
destroot.destdir prefix=${destroot}${prefix} \
MANDIR=\\\${prefix}/share/man
-if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset g95]} {
+if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset g95]} {
default_variants +gcc45
}
-variant gcc43 conflicts g95 gcc44 gcc45 gcc46 description {Enable Fortran support with gfortran 4.3} {
+variant gcc43 conflicts g95 gcc44 gcc45 gcc46 gcc47 description {Enable Fortran support with gfortran 4.3} {
depends_lib-append port:gcc43
configure.cppflags-append -DpgiFortran
configure.compiler macports-gcc-4.3
}
-variant gcc44 conflicts g95 gcc43 gcc45 gcc46 description {Enable Fortran support with gfortran 4.4} {
+variant gcc44 conflicts g95 gcc43 gcc45 gcc46 gcc47 description {Enable Fortran support with gfortran 4.4} {
depends_lib-append port:gcc44
configure.cppflags-append -DpgiFortran
configure.compiler macports-gcc-4.4
}
-variant gcc45 conflicts g95 gcc43 gcc44 gcc46 description {Enable Fortran support with gfortran 4.5} {
+variant gcc45 conflicts g95 gcc43 gcc44 gcc46 gcc47 description {Enable Fortran support with gfortran 4.5} {
depends_lib-append port:gcc45
configure.cppflags-append -DpgiFortran
configure.compiler macports-gcc-4.5
}
-variant gcc46 conflicts g95 gcc43 gcc44 gcc45 description {Enable Fortran support with gfortran 4.6} {
+variant gcc46 conflicts g95 gcc43 gcc44 gcc45 gcc47 description {Enable Fortran support with gfortran 4.6} {
depends_lib-append port:gcc46
configure.cppflags-append -DpgiFortran
configure.compiler macports-gcc-4.6
}
-variant g95 conflicts gcc43 gcc44 gcc45 gcc46 description {Enable Fortran support with g95} {
+variant gcc47 conflicts g95 gcc43 gcc44 gcc45 gcc46 description {Enable Fortran support with gfortran 4.7} {
+ depends_lib-append port:gcc47
+ configure.cppflags-append -DpgiFortran
+ configure.compiler macports-gcc-4.7
+}
+
+variant g95 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 description {Enable Fortran support with g95} {
depends_lib-append port:g95
#-lfg95 required or the tests fail
configure.cppflags-append -DpgiFortran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120719/45e58566/attachment.html>
More information about the macports-changes
mailing list