Revision
70939
Author
takeshi@macports.org
Date
2010-08-26 20:26:07 -0700 (Thu, 26 Aug 2010)

Log Message

netcdf: added cppflags, fflags and fcflags for g95 variants to function properly

Modified Paths

Diff

Modified: trunk/dports/science/netcdf/Portfile (70938 => 70939)


--- trunk/dports/science/netcdf/Portfile	2010-08-27 00:40:03 UTC (rev 70938)
+++ trunk/dports/science/netcdf/Portfile	2010-08-27 03:26:07 UTC (rev 70939)
@@ -6,7 +6,7 @@
 name                        netcdf
 epoch                       1
 version                     4.1.1
-revision                    3
+revision                    4
 maintainers                 takeshi openmaintainer
 platforms                   darwin
 categories                  science
@@ -79,6 +79,9 @@
     depends_lib-append      port:g95
     configure.args-delete   --disable-fortran-compiler-check --disable-f77 --disable-f90
     #-lfg95 required or the tests fail
+    configure.cppflags-append -DpgiFortran
+    configure.fflags-append -fno-second-underscore
+    configure.fcflags-append    -fno-second-underscore
     configure.ldflags-append    -lf95
     configure.fc            ${prefix}/bin/g95
     configure.f77           ${configure.fc}