diff options
author | rafan <rafan@FreeBSD.org> | 2009-09-26 23:11:38 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2009-09-26 23:11:38 +0800 |
commit | fc0f452c35c68949eb4a03a31230c606ed9fe1a8 (patch) | |
tree | 73434e9110ee050feace911889a54a21f32f77d9 /math | |
parent | c772cf2da85144e1595501301ad72a4555786165 (diff) | |
download | freebsd-ports-gnome-fc0f452c35c68949eb4a03a31230c606ed9fe1a8.tar.gz freebsd-ports-gnome-fc0f452c35c68949eb4a03a31230c606ed9fe1a8.tar.zst freebsd-ports-gnome-fc0f452c35c68949eb4a03a31230c606ed9fe1a8.zip |
- Update science/netcdf4 to 4.0.1
- Bump PORTREVISION for dependent ports
PR: ports/136377
Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net> (maintainer)
Feature safe: yes
Diffstat (limited to 'math')
-rw-r--r-- | math/p5-NetCDF/Makefile | 3 | ||||
-rw-r--r-- | math/p5-NetCDF/files/patch-perl-NetCDF.xs | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/math/p5-NetCDF/Makefile b/math/p5-NetCDF/Makefile index 62032540632b..5315684c820b 100644 --- a/math/p5-NetCDF/Makefile +++ b/math/p5-NetCDF/Makefile @@ -7,6 +7,7 @@ PORTNAME= NetCDF PORTVERSION= 1.2.3 +PORTREVISION= 1 CATEGORIES= math perl5 MASTER_SITES= ftp://ftp.unidata.ucar.edu/pub/netcdf-perl/ PKGNAMEPREFIX= p5- @@ -19,7 +20,7 @@ COMMENT= Perl5 module to read and write netCDF files NETCDF_VER?= 4 .if (${NETCDF_VER} == 4) -LIB_DEPENDS= netcdf.5:${PORTSDIR}/science/netcdf4 +LIB_DEPENDS= netcdf.6:${PORTSDIR}/science/netcdf4 .else LIB_DEPENDS= netcdf.4:${PORTSDIR}/science/netcdf .endif diff --git a/math/p5-NetCDF/files/patch-perl-NetCDF.xs b/math/p5-NetCDF/files/patch-perl-NetCDF.xs new file mode 100644 index 000000000000..c3fd58c8c600 --- /dev/null +++ b/math/p5-NetCDF/files/patch-perl-NetCDF.xs @@ -0,0 +1,13 @@ +--- perl/NetCDF.xs.orig 2003-01-10 00:09:14.000000000 +0800 ++++ perl/NetCDF.xs 2009-09-26 06:10:36.000000000 +0800 +@@ -23,6 +23,10 @@ + #include <assert.h> + #include "netcdf.h" + ++#if !defined(MAX_NC_OPEN) ++#define MAX_NC_OPEN sysconf(_SC_OPEN_MAX) ++#endif ++ + /* + * Macro for setting a scalar value either directly or through a reference: + */ |