[75205] trunk/dports/science/netcdf/Portfile

takeshi at macports.org takeshi at macports.org
Mon Jan 17 19:05:24 PST 2011


Revision: 75205
          http://trac.macports.org/changeset/75205
Author:   takeshi at macports.org
Date:     2011-01-17 19:05:14 -0800 (Mon, 17 Jan 2011)
Log Message:
-----------
netcdf: added gcc45 variant

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

Modified: trunk/dports/science/netcdf/Portfile
===================================================================
--- trunk/dports/science/netcdf/Portfile	2011-01-18 02:51:26 UTC (rev 75204)
+++ trunk/dports/science/netcdf/Portfile	2011-01-18 03:05:14 UTC (rev 75205)
@@ -61,21 +61,28 @@
 
 default_variants +netcdf4 +dap
 
-variant gcc43 conflicts g95 gcc44 description {Enable Fortran support with gfortran 4.3} {
+variant gcc43 conflicts g95 gcc44 gcc45 description {Enable Fortran support with gfortran 4.3} {
     depends_lib-append      port:gcc43
     configure.args-delete   --disable-fortran-compiler-check --disable-f77 --disable-f90
     configure.cppflags-append -DpgiFortran
     configure.compiler      macports-gcc-4.3
 }
 
-variant gcc44 conflicts g95 gcc43 description {Enable Fortran support with gfortran 4.4} {
+variant gcc44 conflicts g95 gcc43 gcc45 description {Enable Fortran support with gfortran 4.4} {
     depends_lib-append      port:gcc44
     configure.args-delete   --disable-fortran-compiler-check --disable-f77 --disable-f90
     configure.cppflags-append -DpgiFortran
     configure.compiler      macports-gcc-4.4
 }
 
-variant g95 conflicts gcc43 gcc44 description {Enable Fortran support with g95} {
+variant gcc45 conflicts g95 gcc43 gcc44 description {Enable Fortran support with gfortran 4.5} {
+    depends_lib-append      port:gcc45
+    configure.args-delete   --disable-fortran-compiler-check --disable-f77 --disable-f90
+    configure.cppflags-append -DpgiFortran
+    configure.compiler      macports-gcc-4.5
+}
+
+variant g95 conflicts gcc43 gcc44 gcc45 description {Enable Fortran support with g95} {
     depends_lib-append      port:g95
     configure.args-delete   --disable-fortran-compiler-check --disable-f77 --disable-f90
     #-lfg95 required or the tests fail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110117/3c4e6afc/attachment.html>


More information about the macports-changes mailing list