mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
c8c5d9de25
Merge two upstream commits to fix build: /wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.22.0/src/storage/io_config.cpp: In member function 'bool osrm::storage::IOConfig::IsValid() const': /wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.22.0/src/storage/io_config.cpp:18:89: error: call of overloaded 'is_regular_file(<brace-enclosed initializer list>)' is ambiguous 18 | if (!boost::filesystem::is_regular_file({base_path.string() + fileName.string()})) | ^ In file included from /usr/local/include/boost/filesystem.hpp:18, from /wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.22.0/include/storage/io_config.hpp:8, from /wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.22.0/src/storage/io_config.cpp:1: /usr/local/include/boost/filesystem/directory.hpp:171:20: note: candidate: 'bool boost::filesystem::is_regular_file(const boost::filesystem::directory_entry&)' 171 | inline bool is_regular_file(const directory_entry& e) BOOST_NOEXCEPT { return filesystem::is_regular_file(e.status()); } | ^~~~~~~~~~~~~~~ In file included from /usr/local/include/boost/filesystem.hpp:19, from /wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.22.0/include/storage/io_config.hpp:8, from /wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.22.0/src/storage/io_config.cpp:1: /usr/local/include/boost/filesystem/operations.hpp:169:6: note: candidate: 'bool boost::filesystem::is_regular_file(const boost::filesystem::path&)' 169 | bool is_regular_file(const path& p) {return is_regular_file(detail::status(p));} | ^~~~~~~~~~~~~~~ MFH: 2020Q3 (fix build blanket)
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= osrm-backend
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 5.22.0
|
|
PORTREVISION= 9
|
|
CATEGORIES= www
|
|
|
|
PATCH_SITES= https://github.com/Project-OSRM/osrm-backend/commit/
|
|
PATCHFILES= 38700e207e076a391f30ef66ad90d03e7543006e.patch:-p1 \
|
|
018a9bc80449d85c0e40fa5215377d8a03264c88.patch:-p1
|
|
|
|
MAINTAINER= freebsd@mosedal.net
|
|
COMMENT= Open Source Routing Machine (Backend)
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
|
|
|
|
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 compiler:c++14-lang lua:53
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Project-OSRM
|
|
OPTIONS_DEFINE= DEBUG
|
|
|
|
USE_RC_SUBR= osrm
|
|
|
|
USERS= osrm
|
|
GROUPS= osrm
|
|
|
|
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.post.mk>
|