graphics/rubygem-opengl: Clean up Makefile

This commit is contained in:
Po-Chuan Hsieh 2024-09-09 02:33:19 +08:00
parent 16cc64805f
commit 3500203daa
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B

View file

@ -16,10 +16,6 @@ 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
CONFIGURE_ARGS= --with-cflags=-Wno-incompatible-function-pointer-types
.include <bsd.port.mk>