www/osrm-backend: Disable compiler warnings as errors
When -DNDEBUG is defined -Werror=all needs to be disabled otherwise port won't build PR: 266852 Approved by: portmgr (maintainer timeout, 2+ weeks)
This commit is contained in:
parent
6cfe697000
commit
fa14b345d7
@ -42,6 +42,10 @@ CMAKE_ON= BUILD_STATIC_LIBS
|
||||
CXXFLAGS+= -Wno-range-loop-construct
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-Werror=all -Werror=extra|-Werror=extra|g' \
|
||||
${PATCH_WRKSRC}/CMakeLists.txt
|
||||
|
||||
pre-install:
|
||||
@${MKDIR} ${STAGEDIR}/var/db/osrm-backend
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user