2021-02-11 14:56:46 +01:00
|
|
|
# $NetBSD: Makefile,v 1.37 2021/02/11 13:56:46 gdt Exp $
|
2017-09-28 02:24:41 +02:00
|
|
|
|
2021-02-11 14:56:46 +01:00
|
|
|
DISTNAME= geos-3.9.1
|
2011-02-15 10:19:29 +01:00
|
|
|
CATEGORIES= geography
|
|
|
|
MASTER_SITES= http://download.osgeo.org/geos/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2005-11-06 11:36:46 +01:00
|
|
|
|
2012-06-06 01:17:32 +02:00
|
|
|
# geos has two libraries:
|
|
|
|
# geos_c (C), which follows normal versioning rules
|
|
|
|
# geos (C++), which uses -release, and changes on every release
|
|
|
|
|
2013-01-23 01:35:12 +01:00
|
|
|
# According to the geos project (as documented in README), the C++
|
|
|
|
# interface should not be directly used and other packages should not
|
Update to 3.7.0:
pkgsrc changes: revise comments about geos C vs C++ library linking in
light of unexpected libtool behavior (which defeats geos's scheme)
Upstream NEWS:
3.7.0 changes
2018-09-10
- New things:
- CAPI: GEOSDistanceIndexed (#795, Dan Baston)
- CAPI: GEOSCoordSeq_isCCW (#870, Dan Baston)
- CAPI: GEOSGeom_getXMin, GEOSGeom_getXMax,
GEOSGeom_getYMin, GEOSGeom_getYMax (#871, Dan Baston)
- CAPI: GEOSFrechetDistance (#797, Shinichi SUGIYAMA)
- CAPI: GEOSReverse (#872, Dan Baston)
- CAPI: GEOSGeomGetZ (#581, J Smith)
- Improvements
- Interruptible snap operation (Paul Ramsey)
- Numerous packaging, doc, and build changes
(Debian group: Bas Couwenberg, Francesco Paolo Lovergine)
(NetBSD: Greg Troxel)
- Allow static library with C API for CMake builds (#878, Dakota Hawkins)
- C++ API changes:
- Require defining USE_UNSTABLE_GEOS_CPP_API for use without
warnings.
- Make C++11 required (Mateusz Loskot)
- Use C++11 unique_ptr, nullptr, and override constructs
(Mateusz Loskot)
- C++11 standard delete on noncopyable
(#851, Vicky Vergara)
- Fix CommonBits::getBit to correctly handle i >= 32
(#834, Kurt Schwehr)
2018-09-11 18:13:29 +02:00
|
|
|
# link against it. Therefore, in theory pkgsrc would perform a
|
|
|
|
# recursive revbump when the libgeos_c.so version changes, and would
|
|
|
|
# generally ignore libgeos.so shlib name changes.
|
|
|
|
#
|
|
|
|
# However, libtool explicitly adds dependency_libs, so packages that
|
|
|
|
# intend to only depend on the C library end up being linked directly
|
|
|
|
# to the C++ library also. Thus, they need revbumping because of
|
|
|
|
# libtools {bug or feature}.
|
|
|
|
#
|
2018-09-11 19:26:52 +02:00
|
|
|
# Packages that need revbumping because of libtool's behavior:
|
2012-11-15 23:07:27 +01:00
|
|
|
# geography/gdal-lib
|
2018-09-11 19:26:52 +02:00
|
|
|
# geography/py-gdal
|
|
|
|
# databases/postgresql-postgis2
|
Update to 3.7.0:
pkgsrc changes: revise comments about geos C vs C++ library linking in
light of unexpected libtool behavior (which defeats geos's scheme)
Upstream NEWS:
3.7.0 changes
2018-09-10
- New things:
- CAPI: GEOSDistanceIndexed (#795, Dan Baston)
- CAPI: GEOSCoordSeq_isCCW (#870, Dan Baston)
- CAPI: GEOSGeom_getXMin, GEOSGeom_getXMax,
GEOSGeom_getYMin, GEOSGeom_getYMax (#871, Dan Baston)
- CAPI: GEOSFrechetDistance (#797, Shinichi SUGIYAMA)
- CAPI: GEOSReverse (#872, Dan Baston)
- CAPI: GEOSGeomGetZ (#581, J Smith)
- Improvements
- Interruptible snap operation (Paul Ramsey)
- Numerous packaging, doc, and build changes
(Debian group: Bas Couwenberg, Francesco Paolo Lovergine)
(NetBSD: Greg Troxel)
- Allow static library with C API for CMake builds (#878, Dakota Hawkins)
- C++ API changes:
- Require defining USE_UNSTABLE_GEOS_CPP_API for use without
warnings.
- Make C++11 required (Mateusz Loskot)
- Use C++11 unique_ptr, nullptr, and override constructs
(Mateusz Loskot)
- C++11 standard delete on noncopyable
(#851, Vicky Vergara)
- Fix CommonBits::getBit to correctly handle i >= 32
(#834, Kurt Schwehr)
2018-09-11 18:13:29 +02:00
|
|
|
# Packages that need revbumping because of direct use of the C++ lib:
|
|
|
|
# (none known)
|
2012-06-03 18:05:44 +02:00
|
|
|
|
2011-02-15 10:19:29 +01:00
|
|
|
MAINTAINER= gdt@NetBSD.org
|
2017-01-22 16:56:07 +01:00
|
|
|
HOMEPAGE= https://trac.osgeo.org/geos
|
2011-02-15 10:19:29 +01:00
|
|
|
COMMENT= C++ port of the Java Topology Suite (JTS)
|
|
|
|
LICENSE= gnu-lgpl-v2.1
|
2005-11-06 11:36:46 +01:00
|
|
|
|
Update to 3.7.0:
pkgsrc changes: revise comments about geos C vs C++ library linking in
light of unexpected libtool behavior (which defeats geos's scheme)
Upstream NEWS:
3.7.0 changes
2018-09-10
- New things:
- CAPI: GEOSDistanceIndexed (#795, Dan Baston)
- CAPI: GEOSCoordSeq_isCCW (#870, Dan Baston)
- CAPI: GEOSGeom_getXMin, GEOSGeom_getXMax,
GEOSGeom_getYMin, GEOSGeom_getYMax (#871, Dan Baston)
- CAPI: GEOSFrechetDistance (#797, Shinichi SUGIYAMA)
- CAPI: GEOSReverse (#872, Dan Baston)
- CAPI: GEOSGeomGetZ (#581, J Smith)
- Improvements
- Interruptible snap operation (Paul Ramsey)
- Numerous packaging, doc, and build changes
(Debian group: Bas Couwenberg, Francesco Paolo Lovergine)
(NetBSD: Greg Troxel)
- Allow static library with C API for CMake builds (#878, Dakota Hawkins)
- C++ API changes:
- Require defining USE_UNSTABLE_GEOS_CPP_API for use without
warnings.
- Make C++11 required (Mateusz Loskot)
- Use C++11 unique_ptr, nullptr, and override constructs
(Mateusz Loskot)
- C++11 standard delete on noncopyable
(#851, Vicky Vergara)
- Fix CommonBits::getBit to correctly handle i >= 32
(#834, Kurt Schwehr)
2018-09-11 18:13:29 +02:00
|
|
|
USE_LANGUAGES= c c++11
|
2005-11-06 11:36:46 +01:00
|
|
|
USE_LIBTOOL= yes
|
2011-06-16 11:24:05 +02:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2005-11-06 11:36:46 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2008-12-11 18:17:57 +01:00
|
|
|
TEST_TARGET= check
|
|
|
|
|
2005-11-06 11:36:46 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|