diff options
author | Daniel Engberg <diizzy@FreeBSD.org> | 2022-10-29 21:20:57 +0200 |
---|---|---|
committer | Daniel Engberg <diizzy@FreeBSD.org> | 2022-10-29 21:38:58 +0200 |
commit | 68f60fd8f526820a7114064213613a0195c2708c (patch) | |
tree | 6e4628053a70d4527266738118cf40fc5569ee13 | |
parent | security/putty: update to 0.78 release (diff) |
sysutils/bareos-server: Disable -Werror flag in traymonitor
When -DNDEBUG is defined -Werror needs to be disabled otherwise
(leaf) port won't build
This is the same fix as for client leaf port
Commit: 15fd15478b93d0264ea9bd8af4acff12c2dbde95
PR: 266721
Reviewed by: antoine (via exp-run)
Approved by: portmgr (blanket, build fix)
-rw-r--r-- | sysutils/bareos-server/Makefile.common | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysutils/bareos-server/Makefile.common b/sysutils/bareos-server/Makefile.common index 9386c35cd09e..efd76eea1dfe 100644 --- a/sysutils/bareos-server/Makefile.common +++ b/sysutils/bareos-server/Makefile.common @@ -1,5 +1,8 @@ post-patch: @${REINPLACE_CMD} '76,79d' ${WRKSRC}/CMakeLists.txt +.if ${PKGNAMESUFFIX} == "-traymonitor" + @${REINPLACE_CMD} -e 's|-Werror -Wall|-Wall|g' ${PATCH_WRKSRC}/core/CMakeLists.txt +.endif post-build: .if ${PKGNAMEPREFIX} == "nagios-check_" |