diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-03 17:10:56 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-03 18:03:23 +0000 |
commit | 949b92ecdd2b0dceaa140ec75c5742b2e2d96ab2 (patch) | |
tree | f966f52fdb3b9db6f39d474404a5d18e76336102 /games | |
parent | 65d4cdca3781a6fa1847a7b1f7abed47397e63c4 (diff) | |
download | ports-949b92ecdd2b0dceaa140ec75c5742b2e2d96ab2.tar.gz ports-949b92ecdd2b0dceaa140ec75c5742b2e2d96ab2.zip |
games/dxx-rebirth: Fix build with llvm15
Approved by: portmgr (blanket)
Diffstat (limited to 'games')
-rw-r--r-- | games/dxx-rebirth/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/games/dxx-rebirth/Makefile b/games/dxx-rebirth/Makefile index 2998713ea9c2..dfc6bb839161 100644 --- a/games/dxx-rebirth/Makefile +++ b/games/dxx-rebirth/Makefile @@ -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 |