landry 67f9b56af4 Add -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 to CFLAGS/CXXFLAGS where
appropriate in various devel/proj consumers to fix build with upcoming
proj 6 update, which will be commited in a month or so.

Thx to https://github.com/OSGeo/proj.4/wiki/proj.h-adoption-status for
linking the various upstream issues about it.
2019-04-16 20:13:09 +00:00

36 lines
728 B
Makefile

# $OpenBSD: Makefile,v 1.3 2019/04/16 20:13:09 landry Exp $
COMMENT = fast, flexible library for working with OpenStreetMap data
GH_ACCOUNT = osmcode
GH_PROJECT = libosmium
GH_TAGNAME = v2.14.0
REVISION = 0
CATEGORIES = geo
HOMEPAGE = https://osmcode.org/libosmium/
# Boost
PERMIT_PACKAGE_CDROM = Yes
COMPILER = base-clang ports-gcc ports-clang
MODULES = devel/cmake
BUILD_DEPENDS = devel/boost \
devel/cppcheck \
devel/proj \
devel/protozero \
devel/sparsehash \
geo/gdal \
geo/geos
# https://github.com/osmcode/libosmium/issues/277
CXXFLAGS+=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1
# include/osmium/io/detail/opl_parser_functions.hpp
# #include <utf8.h>
RUN_DEPENDS = devel/utfcpp
.include <bsd.port.mk>