mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
30e8080ef5
reverts a commit from 2.1, see https://github.com/libspatialindex/libspatialindex/issues/276
31 lines
731 B
Makefile
31 lines
731 B
Makefile
BROKEN-sparc64 = error: 'raise' was not declared in this scope
|
|
|
|
COMMENT = library for spatial indexing and querying
|
|
V = 2.1.0
|
|
REVISION = 0
|
|
DISTNAME = spatialindex-src-${V}
|
|
PKGNAME = ${DISTNAME:S/-src//}
|
|
CATEGORIES = geo
|
|
SHARED_LIBS = spatialindex 5.0 \
|
|
spatialindex_c 2.1
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
HOMEPAGE = https://libspatialindex.org/
|
|
SITES = https://github.com/libspatialindex/libspatialindex/releases/download/${V}/
|
|
|
|
MODULES = devel/cmake
|
|
|
|
WANTLIB = m pthread ${COMPILER_LIBCXX}
|
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
# has a bundled gtest 1.14
|
|
CONFIGURE_ARGS += -DBUILD_TESTING=ON
|
|
|
|
post-extract:
|
|
cd ${WRKSRC}/test && find . -name '*.sh' -o -name run | xargs sed -i -e 's#bin/bash#bin/sh#'
|
|
|
|
.include <bsd.port.mk>
|