git: 3500203daa0d - main - graphics/rubygem-opengl: Clean up Makefile

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 08 Sep 2024 18:55:41 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3500203daa0d0e6dc5632823a0bfc2000b7eab4d

commit 3500203daa0d0e6dc5632823a0bfc2000b7eab4d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-08 18:33:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-08 18:40:21 +0000

    graphics/rubygem-opengl: Clean up Makefile
---
 graphics/rubygem-opengl/Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/graphics/rubygem-opengl/Makefile b/graphics/rubygem-opengl/Makefile
index 77b9facdee56..08382f730b3d 100644
--- a/graphics/rubygem-opengl/Makefile
+++ b/graphics/rubygem-opengl/Makefile
@@ -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>