1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

www/osrm-backend: Fix build on CURRENT and pet portlint

PR:		245622
Submitted by:	freebsd@mosedal.net (maintainer)
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D24624
This commit is contained in:
Loïc Bartoletti 2020-05-18 13:38:12 +00:00
parent d12d8dc71d
commit 1e9717c8ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535738

View File

@ -1,45 +1,50 @@
# $FreeBSD$
PORTNAME= osrm-backend
PORTNAME= osrm-backend
DISTVERSIONPREFIX= v
DISTVERSION= 5.22.0
PORTREVISION= 7
CATEGORIES= www
DISTVERSION= 5.22.0
PORTREVISION= 8
CATEGORIES= www
MAINTAINER= freebsd@mosedal.net
COMMENT= Open Source Routing Machine (Backend)
MAINTAINER= freebsd@mosedal.net
COMMENT= Open Source Routing Machine (Backend)
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
BUILD_DEPENDS= ${LOCALBASE}/lib/libstxxl.a:devel/stxxl
LIB_DEPENDS= libtbb.so:devel/tbb \
libtbbmalloc.so:devel/tbb \
libluabind.so:devel/luabind \
libboost_program_options.so:devel/boost-libs \
libboost_date_time.so:devel/boost-libs \
libboost_chrono.so:devel/boost-libs \
libboost_filesystem.so:devel/boost-libs \
libboost_iostreams.so:devel/boost-libs \
libboost_thread.so:devel/boost-libs \
libboost_system.so:devel/boost-libs \
libboost_regex.so:devel/boost-libs \
libexpat.so:textproc/expat2
BUILD_DEPENDS= ${LOCALBASE}/lib/libstxxl.a:devel/stxxl
LIB_DEPENDS= libboost_chrono.so:devel/boost-libs \
libboost_date_time.so:devel/boost-libs \
libboost_filesystem.so:devel/boost-libs \
libboost_iostreams.so:devel/boost-libs \
libboost_program_options.so:devel/boost-libs \
libboost_regex.so:devel/boost-libs \
libboost_system.so:devel/boost-libs \
libboost_thread.so:devel/boost-libs \
libexpat.so:textproc/expat2 \
libluabind.so:devel/luabind \
libtbb.so:devel/tbb \
libtbbmalloc.so:devel/tbb
USES= cmake lua:53 compiler:c++14-lang
USE_GITHUB= yes
GH_ACCOUNT= Project-OSRM
USES= cmake compiler:c++14-lang lua:53
USE_GITHUB= yes
GH_ACCOUNT= Project-OSRM
OPTIONS_DEFINE= DEBUG
OPTIONS_DEFINE= DEBUG
USE_RC_SUBR= osrm
USE_RC_SUBR= osrm
USERS= osrm
GROUPS= osrm
USERS= osrm
GROUPS= osrm
CMAKE_ON= BUILD_STATIC_LIBS
CMAKE_ON= BUILD_STATIC_LIBS
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 1300084
CXXFLAGS+= -Wno-range-loop-construct
.endif
pre-install:
@${MKDIR} ${STAGEDIR}/var/db/osrm-backend
.include <bsd.port.mk>
.include <bsd.port.post.mk>