Date: Thu, 20 Oct 2022 08:12:34 GMT From: Daniel Engberg <diizzy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: fa14b345d72a - main - www/osrm-backend: Disable compiler warnings as errors Message-ID: <202210200812.29K8CYAE079563@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210200812.29K8CYAE079563>