On Sat, Nov 23, 2019 at 02:43:12PM +0000, Stuart Henderson wrote:
> ... so it needs a major SHARED_LIBS bump. Have you tested dependent ports?
>
> $ sqlite3 /usr/local/share/sqlports "select fullpkgpath from depends where
> dependspath like 'math/netcdf'"
> geo/mdal
> graphics/gmt
> graphics/gmt,-main
mdals netcdf test still works, as do my own programs with py-netcdf. I did not
check gmt.
Index: Makefile
===================================================================
RCS file: /cvs/ports/math/netcdf/Makefile,v
retrieving revision 1.36
diff -u -p -u -p -r1.36 Makefile
--- Makefile 12 Jul 2019 20:47:43 -0000 1.36
+++ Makefile 23 Nov 2019 16:23:08 -0000
@@ -1,19 +1,15 @@
# $OpenBSD: Makefile,v 1.36 2019/07/12 20:47:43 sthen Exp $
-# let's give it a chance?
-#BROKEN-powerpc= fails to build
-#BROKEN-hppa = fails to configure
-
COMMENT= library for machine-independent, array-oriented data access
-V= 4.7.0
+V= 4.7.3
NAME= netcdf
DISTNAME= ${NAME}-c-${V}
PKGNAME= ${NAME}-${V}
CATEGORIES= math
-SHARED_LIBS= netcdf 5.0 # 4.0
+SHARED_LIBS= netcdf 6.0 # 5.0
HOMEPAGE= http://www.unidata.ucar.edu/software/netcdf/
Index: distinfo
===================================================================
RCS file: /cvs/ports/math/netcdf/distinfo,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 distinfo
--- distinfo 16 May 2019 11:39:19 -0000 1.8
+++ distinfo 23 Nov 2019 16:23:08 -0000
@@ -1,2 +1,2 @@
-SHA256 (netcdf-c-4.7.0.tar.gz) = pRLStIKMYXfdS5Z5HEFj5OBua/xxI76/v+AXYtd30cs=
-SIZE (netcdf-c-4.7.0.tar.gz) = 5985755
+SHA256 (netcdf-c-4.7.3.tar.gz) = joyfTuFVMd68+DeIWUdEvWVTuEicBqQ0haFck7TgRIs=
+SIZE (netcdf-c-4.7.3.tar.gz) = 6056295
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/math/netcdf/pkg/PLIST,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 PLIST
--- pkg/PLIST 16 May 2019 11:39:19 -0000 1.8
+++ pkg/PLIST 23 Nov 2019 16:23:08 -0000
@@ -1,4 +1,4 @@
-@comment $OpenBSD: PLIST,v 1.8 2019/05/16 11:39:19 jasper Exp $
+@comment $OpenBSD: PLIST,v$
bin/nc-config
@bin bin/nccopy
@bin bin/ncdump
@@ -6,10 +6,11 @@ bin/nc-config
@bin bin/ncgen3
include/netcdf.h
include/netcdf_aux.h
+include/netcdf_dispatch.h
include/netcdf_filter.h
include/netcdf_mem.h
include/netcdf_meta.h
-lib/libnetcdf.a
+@static-lib lib/libnetcdf.a
lib/libnetcdf.la
lib/libnetcdf.settings
@lib lib/libnetcdf.so.${LIBnetcdf_VERSION}