[70939] trunk/dports/science/netcdf/Portfile
takeshi at macports.org
takeshi at macports.org
Thu Aug 26 20:26:07 PDT 2010
Revision: 70939
http://trac.macports.org/changeset/70939
Author: takeshi at 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:
--------------
trunk/dports/science/netcdf/Portfile
Modified: trunk/dports/science/netcdf/Portfile
===================================================================
--- 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}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100826/6b49cd39/attachment.html>
More information about the macports-changes
mailing list