Index | Thread | Search

From:
Rafael Sadowski <rafael@sizeofvoid.org>
Subject:
UPDATE: shapelib-1.6.0
To:
The OpenBSD ports mailing-list <ports@openbsd.org>
Date:
Thu, 18 Apr 2024 17:08:00 +0200

Download raw body.

Thread
I'm annoyed that shapelib failed with MAKE_JOBS. So here is an update
diff that switches to camke.

http://shapelib.maptools.org/release.html

I bumped shp:

/tmp/shapelib-1.6.0/lib/libshp.so.2.0 --> /usr/ports/pobj/shapelib-1.6.0/fake-amd64/usr/local/lib/libshp.so.2.0
Dynamic export changes:
removed:
	SADError
	SADFClose
	SADFFlush
	SADFOpen
	SADFRead
	SADFSeek
	SADFTell
	SADFWrite
	SADRemove

External reference changes:
removed:
	__assert2

diff --git a/devel/shapelib/Makefile b/devel/shapelib/Makefile
index 3481a889768..d1146151c4b 100644
--- a/devel/shapelib/Makefile
+++ b/devel/shapelib/Makefile
@@ -1,17 +1,20 @@
 COMMENT=	shapefile manipulation library
 
-DISTNAME=	shapelib-1.5.0
-SHARED_LIBS=	shp 2.0
-CATEGORIES=    	devel
+DISTNAME=	shapelib-1.6.0
+
+CATEGORIES=	devel
 
 HOMEPAGE=	http://shapelib.maptools.org/
 
+SHARED_LIBS +=  shp                       3.0 # 4.0
+
 # LGPL
 PERMIT_PACKAGE=	Yes
 
+WANTLIB += ${COMPILER_LIBCXX} c m
+
 SITES=		http://download.osgeo.org/shapelib/
 
-CONFIGURE_STYLE=gnu
-WANTLIB +=	${COMPILER_LIBCXX} c m
+MODULES =	devel/cmake
 
 .include <bsd.port.mk>
diff --git a/devel/shapelib/distinfo b/devel/shapelib/distinfo
index dcb60a39059..da65196bf5d 100644
--- a/devel/shapelib/distinfo
+++ b/devel/shapelib/distinfo
@@ -1,2 +1,2 @@
-SHA256 (shapelib-1.5.0.tar.gz) = H8CkgJgsrvnnuUIwcLR3ULo0zQuoJmjy5jj6sdB62uE=
-SIZE (shapelib-1.5.0.tar.gz) = 547686
+SHA256 (shapelib-1.6.0.tar.gz) = GVKLJDdyQXBWNzIMNnlDAxrVCIZl0fsOHqpSpxJkpsQ=
+SIZE (shapelib-1.6.0.tar.gz) = 528882
diff --git a/devel/shapelib/pkg/PLIST b/devel/shapelib/pkg/PLIST
index c058565f9c8..eafa06b0582 100644
--- a/devel/shapelib/pkg/PLIST
+++ b/devel/shapelib/pkg/PLIST
@@ -1,4 +1,5 @@
 @bin bin/Shape_PointInPoly
+@bin bin/csv2shp
 @bin bin/dbfadd
 @bin bin/dbfcat
 @bin bin/dbfcreate
@@ -16,10 +17,13 @@
 @bin bin/shprewind
 @bin bin/shpsort
 @bin bin/shptreedump
-@bin bin/shputils
 @bin bin/shpwkb
 include/shapefil.h
-lib/libshp.a
-lib/libshp.la
+include/shapelib/
+include/shapelib/shapefil.h
 @lib lib/libshp.so.${LIBshp_VERSION}
-lib/pkgconfig/shapelib.pc
+share/shapelib/
+share/shapelib/shapelib-config-version.cmake
+share/shapelib/shapelib-config.cmake
+share/shapelib/shapelib-targets${MODCMAKE_BUILD_SUFFIX}
+share/shapelib/shapelib-targets.cmake