summaryrefslogtreecommitdiff
path: root/math/R-RNetCDF/patches/patch-configure
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2020-09-20 23:12:14 +0000
committermef <mef@pkgsrc.org>2020-09-20 23:12:14 +0000
commitcb1508ed16879915c318e2575a5770fe2993bcfd (patch)
treebde3d0d97c39f5e47d558bfe1ac1f2d329868dc0 /math/R-RNetCDF/patches/patch-configure
parent9530100fbdf2fbd75ab7bebbacead059814ea084 (diff)
downloadpkgsrc-cb1508ed16879915c318e2575a5770fe2993bcfd.tar.gz
(math/R-RNetCDF) Updated 1.9.1 to 2.4.2
Version 2.4-2, 2020-09-12 * Support reading/writing special values (e.g. NA, Inf) without substitution, mainly in cases where type conversion between R and NetCDF is not required. * Fix selection of na.mode values 0,1,2 * Fix range checks for numeric conversions with packing * Significantly increase test coverage of type conversion routines * Support parallel NetCDF when running with MPI * Allow creation of datasets in "data64" (CDF5) format * Support diskless files and in-memory manipulation of persistent files Version 2.3-1, 2020-04-27 * Fix problem when defining scalar variables with netcdf-4.7.4 Version 2.1-1, 2019-10-18 * Remove automatic handling of fill values in user-defined types * Link rwinlib libraries by pathname to fix r-hub Windows builds * Correct quoting of external software names in DESCRIPTION Version 2.0-4, 2019-10-13 * Fix OSX packages by linking expat library Version 2.0-3, 2019-10-05 * Support NetCDF-4 features for reading and writing of datasets. * Suggest bit64 package for NC_INT64 and NC_UINT64 types. * Drop support for netcdf-3.x library, require netcdf-4.x. * Drop support for udunits-1 library. * Disable calendar functions if udunits-2.x is not found during build.
Diffstat (limited to 'math/R-RNetCDF/patches/patch-configure')
-rw-r--r--math/R-RNetCDF/patches/patch-configure31
1 files changed, 11 insertions, 20 deletions
diff --git a/math/R-RNetCDF/patches/patch-configure b/math/R-RNetCDF/patches/patch-configure
index e93be96bd67..a0dc96231d1 100644
--- a/math/R-RNetCDF/patches/patch-configure
+++ b/math/R-RNetCDF/patches/patch-configure
@@ -1,33 +1,24 @@
-$NetBSD: patch-configure,v 1.1 2018/09/17 13:24:18 maya Exp $
+$NetBSD: patch-configure,v 1.2 2020/09/20 23:12:15 mef Exp $
Fix the use of == in shell scripts.
---- configure.orig 2016-11-06 16:18:40.084776697 +0000
+--- configure.orig 2020-09-12 01:56:31.000000000 +0000
+++ configure
-@@ -3275,7 +3275,7 @@ fi
- done
+@@ -3628,7 +3628,7 @@ fi
+ fi
-if test "x$have_nc_config" == xyes; then :
+if test "x$have_nc_config" = xyes; then :
- # Find libraries and cflags used to build netcdf:
+ # Prepend linker flags to LDFLAGS:
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking netcdf linker flags" >&5
-@@ -3589,7 +3589,7 @@ fi
- # Define variables UDUNITS_LIB, UDUNITS_DBFILE and UDUNITS_DBVAR,
- # based on the version of udunits detected above.
- # Also define preprocessor macro HAVE_LIBUDUNITS or HAVE_LIBUDUNITS2.
--if test $udunits == 2; then :
-+if test $udunits = 2; then :
+@@ -3910,7 +3910,7 @@ fi
- UDUNITS_LIB=udunits2
- UDUNITS_DBFILE=udunits2.xml
-@@ -3597,7 +3597,7 @@ if test $udunits == 2; then :
- $as_echo "#define HAVE_LIBUDUNITS2 1" >>confdefs.h
+ # Define HAVE_LIBUDUNITS2 if all udunits2 checks were successful:
+-if test "x$enable_calendar" == xyes; then :
++if test "x$enable_calendar" = xyes; then :
+ $as_echo "#define HAVE_LIBUDUNITS2 1" >>confdefs.h
--elif test $udunits == 1; then :
-+elif test $udunits = 1; then :
-
- UDUNITS_LIB=udunits
- UDUNITS_DBFILE=udunits.dat
+ else