git: fa14b345d72a - main - www/osrm-backend: Disable compiler warnings as errors
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Oct 2022 08:12:34 UTC
The branch main has been updated by diizzy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fa14b345d72a6e95893dbe3af8c32f7d1cf37faa
commit fa14b345d72a6e95893dbe3af8c32f7d1cf37faa
Author: Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-10-20 08:03:36 +0000
Commit: Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-10-20 08:03:42 +0000
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)
---
www/osrm-backend/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/www/osrm-backend/Makefile b/www/osrm-backend/Makefile
index 1a481194246f..385f70aa59f2 100644
--- a/www/osrm-backend/Makefile
+++ b/www/osrm-backend/Makefile
@@ -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