[117882] trunk/dports/science/netcdf-fortran/Portfile
takeshi at macports.org
takeshi at macports.org
Sat Mar 15 22:41:10 PDT 2014
Revision: 117882
https://trac.macports.org/changeset/117882
Author: takeshi at macports.org
Date: 2014-03-15 22:41:09 -0700 (Sat, 15 Mar 2014)
Log Message:
-----------
netcdf-fortran: resurrected DpgiFortran dropped when PortGroup mpi is introduced, closing #42414
Modified Paths:
--------------
trunk/dports/science/netcdf-fortran/Portfile
Modified: trunk/dports/science/netcdf-fortran/Portfile
===================================================================
--- trunk/dports/science/netcdf-fortran/Portfile 2014-03-16 05:02:06 UTC (rev 117881)
+++ trunk/dports/science/netcdf-fortran/Portfile 2014-03-16 05:41:09 UTC (rev 117882)
@@ -8,11 +8,14 @@
compilers.choose f77 f90 fc
mpi.setup require_fortran
-mpi.enforce_variant hdf5-18
+# netcdf-fortran does not require the fortran interface of hdf5-18.
+# enforcing hdf5-18 varint does not allow installation of
+# hdf5-18+cxx (w/o a fortran variant) and netcdf-fortran.
+#mpi.enforce_variant hdf5-18
name netcdf-fortran
version 4.2
-revision 11
+revision 12
maintainers takeshi openmaintainer
platforms darwin
categories science
@@ -50,8 +53,14 @@
}
}
-configure.cppflags-append -DNDEBUG
+configure.cppflags-append -DNDEBUG \
+ -DpgiFortran
configure.cflags-append -fno-common
+if {[variant_isset g95]} {
+ configure.fflags-append -fno-second-underscore
+ configure.fcflags-append -fno-second-underscore
+ configure.ldflags-append -lf95
+}
post-configure {
if {[variant_isset g95]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140315/0d0dcbff/attachment.html>
More information about the macports-changes
mailing list