aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-06-18 04:02:23 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-06-18 04:02:23 +0000
commitb03481f134cf3e79f7e97bbc904e7415e70c5a52 (patch)
tree76a2e662e71ffc4e0889ff0304bac403d28c84a4
parent5cef09d415c90faae83ca6c188cc6376b074dca5 (diff)
downloadports-b03481f134cf3e79f7e97bbc904e7415e70c5a52.tar.gz
ports-b03481f134cf3e79f7e97bbc904e7415e70c5a52.zip
net/rubygem-grpc: Clean up Makefile
- Remove outdated OSVERSION check
-rw-r--r--net/rubygem-grpc/Makefile7
1 files changed, 1 insertions, 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