openbsd-ports/geo/osrm-backend/Makefile
ajacoutot f50fdd748e Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:14:43 +00:00

45 lines
1.1 KiB
Makefile

# devel/tbb does not support 64-bits atomics on ppc32, forcing them does
# not help, see tbb's ${WRKSRC}/include/tbb/machine/mac_ppc.h
NOT_FOR_ARCHS = powerpc
COMMENT = high-performance road network routing engine
GH_ACCOUNT = Project-OSRM
GH_PROJECT = osrm-backend
GH_TAGNAME = v5.22.0
REVISION = 0
CATEGORIES = geo
HOMEPAGE = http://project-osrm.org/
# BSD 2-clause
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} ${MODLUA_WANTLIB}
WANTLIB += boost_chrono-mt boost_date_time-mt boost_filesystem-mt
WANTLIB += boost_iostreams-mt boost_program_options-mt boost_regex-mt
WANTLIB += boost_system-mt boost_thread-mt bz2 c expat m tbb tbbmalloc z
COMPILER = base-clang ports-gcc base-gcc
MODULES = devel/cmake \
lang/lua
MODLUA_VERSION = 5.3
BUILD_DEPENDS = devel/protozero \
devel/utfcpp \
geo/libosmium
LIB_DEPENDS = archivers/bzip2 \
devel/boost \
devel/tbb
CONFIGURE_ARGS = -DOSMIUM_INCLUDE_DIR=${LOCALBASE}/include/osmium \
-DENABLE_CCACHE=Off
CXXFLAGS += -I${LOCALBASE}/include/utfcpp
# Requires network access, and http access to sample osrm data is 403'd
NO_TEST = Yes
.include <bsd.port.mk>