git: 802d4d123e4f - main - devel/rubygem-rbtrace: Clean up Makefile

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=802d4d123e4febdb5a612285120910a148a0ba5d

commit 802d4d123e4febdb5a612285120910a148a0ba5d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-08 18:33:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-08 18:40:20 +0000

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

diff --git a/devel/rubygem-rbtrace/Makefile b/devel/rubygem-rbtrace/Makefile
index 46618c15559d..8b718f11a1d0 100644
--- a/devel/rubygem-rbtrace/Makefile
+++ b/devel/rubygem-rbtrace/Makefile
@@ -16,12 +16,8 @@ RUN_DEPENDS=	rubygem-ffi>=1.0.6:devel/rubygem-ffi \
 
 USES=		gem
 
-PLIST_FILES=	bin/rbtrace
-
-.include <bsd.port.options.mk>
+CONFIGURE_ARGS=	--with-cflags=-Wno-incompatible-function-pointer-types
 
-.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
-CONFIGURE_ARGS+=	--with-cflags="-Wno-error=incompatible-function-pointer-types"
-.endif
+PLIST_FILES=	bin/rbtrace
 
 .include <bsd.port.mk>