git: 69b9b2daea7e - main - textproc/rubygem-ruby-xslt: Clean up Makefile

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=69b9b2daea7eb8609398b7bd930ec1ab28755008

commit 69b9b2daea7eb8609398b7bd930ec1ab28755008
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-08 18:35:03 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-08 18:40:23 +0000

    textproc/rubygem-ruby-xslt: Clean up Makefile
---
 textproc/rubygem-ruby-xslt/Makefile | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/textproc/rubygem-ruby-xslt/Makefile b/textproc/rubygem-ruby-xslt/Makefile
index e8519cd375f4..9c9acf150c12 100644
--- a/textproc/rubygem-ruby-xslt/Makefile
+++ b/textproc/rubygem-ruby-xslt/Makefile
@@ -11,13 +11,9 @@ WWW=		https://github.com/glejeune/ruby-xslt
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USE_GNOME=	libxslt
 USES=		gem gnome
+USE_GNOME=	libxslt
 
-.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>