aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-25 12:04:33 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-25 18:09:47 +0000
commit6237f271f4008087f56a1b76e1d10c4396b93a2b (patch)
treec8844003d1ab4eb601f05d259a63d55233a5b331 /x11-toolkits
parent436f58ed00f575b04f793311477da4ae015edc94 (diff)
downloadports-6237f271f4008087f56a1b76e1d10c4396b93a2b.tar.gz
ports-6237f271f4008087f56a1b76e1d10c4396b93a2b.zip
x11-toolkits/irrlicht: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/irrlicht/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-toolkits/irrlicht/Makefile b/x11-toolkits/irrlicht/Makefile
index 375355240e36..e6da6e43c716 100644
--- a/x11-toolkits/irrlicht/Makefile
+++ b/x11-toolkits/irrlicht/Makefile
@@ -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}