Revision: 147504 https://trac.macports.org/changeset/147504 Author: takeshi@macports.org Date: 2016-04-06 01:11:29 -0700 (Wed, 06 Apr 2016) Log Message: ----------- ncarg: fix build error due to r14794 Revision Links: -------------- https://trac.macports.org/changeset/14794 Modified Paths: -------------- trunk/dports/science/ncarg/Portfile Modified: trunk/dports/science/ncarg/Portfile =================================================================== --- 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