--- trunk/dports/science/ncarg/Portfile 2016-04-06 07:27:14 UTC (rev 147503)
+++ trunk/dports/science/ncarg/Portfile 2016-04-06 08:11:29 UTC (rev 147504)
@@ -77,6 +77,8 @@
patchfiles-append patch-config-ymake.diff
}
+configure.cflags-append -DH5_USE_18_API
+
post-patch {
reinplace "s|hdf/||" ${worksrcpath}/ni/src/ncl/FileSupport.c
reinplace "s| -lsz||g" ${worksrcpath}/Configure