git: b03481f134cf - main - net/rubygem-grpc: Clean up Makefile

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 18 Jun 2024 04:10:47 UTC
The branch main has been updated by sunpoet:

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

commit b03481f134cf3e79f7e97bbc904e7415e70c5a52
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-06-18 04:02:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-06-18 04:02:23 +0000

    net/rubygem-grpc: Clean up Makefile
    
    - Remove outdated OSVERSION check
---
 net/rubygem-grpc/Makefile | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/net/rubygem-grpc/Makefile b/net/rubygem-grpc/Makefile
index 40ac7ada7721..3f762ffa57ee 100644
--- a/net/rubygem-grpc/Makefile
+++ b/net/rubygem-grpc/Makefile
@@ -16,14 +16,9 @@ RUN_DEPENDS=	ca_root_nss>=0:security/ca_root_nss \
 
 USES=		cpe gem gmake pkgconfig
 
+CONFIGURE_ARGS=	--with-cflags=-Wno-incompatible-function-pointer-types
 MAKE_JOBS_UNSAFE=	yes
 
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ((${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000) || ${OSVERSION} >= 1400091)
-CONFIGURE_ARGS+=--with-cflags="-Wno-error=incompatible-function-pointer-types"
-.endif
-
 post-patch:
 	@${RM} ${WRKSRC}/Makefile ${WRKSRC}/.yardopts
 	@${RM} -r ${WRKSRC}/etc ${WRKSRC}/include ${WRKSRC}/third_party ${WRKSRC}/src/boringssl ${WRKSRC}/src/core