graphics/rubygem-opengl: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-08-06 13:57:41 +02:00
parent a254074c95
commit 03b2c7ada5

View file

@ -16,4 +16,10 @@ LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
USES= gl gem
USE_GL= glut
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
.endif
.include <bsd.port.mk>