graphics/rubygem-opengl: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
a254074c95
commit
03b2c7ada5
1 changed files with 6 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue