git: 15fd15478b93 - main - sysutils/bareos-server: Disable -Werror flag in client
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Oct 2022 08:12:35 UTC
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=15fd15478b93d0264ea9bd8af4acff12c2dbde95 commit 15fd15478b93d0264ea9bd8af4acff12c2dbde95 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2022-10-20 08:07:50 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2022-10-20 08:08:05 +0000 sysutils/bareos-server: Disable -Werror flag in client When -DNDEBUG is defined -Werror needs to be disabled otherwise port won't build PR: 266850 Approved by: portmgr (maintainer timeout, 2+ weeks) --- sysutils/bareos-server/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sysutils/bareos-server/Makefile b/sysutils/bareos-server/Makefile index e7da0c8fdaf2..3169247de1dd 100644 --- a/sysutils/bareos-server/Makefile +++ b/sysutils/bareos-server/Makefile @@ -208,6 +208,9 @@ post-patch: @${REINPLACE_CMD} '45d' ${WRKSRC}/core/src/CMakeLists.txt @${REINPLACE_CMD} '51d' ${WRKSRC}/core/src/plugins/CMakeLists.txt .endif +.if ${PKGNAMESUFFIX} == "-client" + @${REINPLACE_CMD} -e 's|-Werror -Wall|-Wall|g' ${PATCH_WRKSRC}/core/CMakeLists.txt +.endif post-extract: .if defined(WITH_CLIENT_ONLY)