Skip to content

Commit

Permalink
sysutils/bareos-server: Disable -Werror flag in client
Browse files Browse the repository at this point in the history
When -DNDEBUG is defined -Werror needs to be disabled otherwise port
won't build

PR:		266850
Approved by:	portmgr (maintainer timeout, 2+ weeks)
  • Loading branch information
Daniel Engberg authored and Daniel Engberg committed Oct 20, 2022
1 parent fa14b34 commit 15fd154
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sysutils/bareos-server/Makefile
Expand Up @@ -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)
Expand Down

0 comments on commit 15fd154

Please sign in to comment.