Skip to content

Commit

Permalink
games/dxx-rebirth: Fix build with llvm15
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
5u623l20 committed Jun 3, 2023
1 parent 65d4cdc commit 949b92e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions games/dxx-rebirth/Makefile
Expand Up @@ -41,6 +41,10 @@ PLIST_FILES= bin/d1x-rebirth \
MAKE_ARGS+= lto=1
.endif

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CPPFLAGS+= -Wno-error=unused-but-set-parameter -Wno-error=unused-but-set-variable
.endif

post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/d1x-rebirth \
${STAGEDIR}${PREFIX}/bin/d2x-rebirth
Expand Down

0 comments on commit 949b92e

Please sign in to comment.