Skip to content

Commit

Permalink
x11-toolkits/irrlicht: Fix build with llvm16
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jun 25, 2023
1 parent 436f58e commit 6237f27
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions x11-toolkits/irrlicht/Makefile
Expand Up @@ -33,6 +33,12 @@ OPTIONS_DEFINE= DEBUG EXAMPLES

DEBUG_MAKE_ENV_OFF= NDEBUG=1

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CPPFLAGS+= -Dregister=
.endif

post-extract:
.for bundled in bzip2 jpeglib libpng zlib
@${RM} -r ${WRKSRC}/source/Irrlicht/${bundled}
Expand Down

0 comments on commit 6237f27

Please sign in to comment.