git: f6af381bd11c - 2024Q4 - net/libfabric: fix build on armv7

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 15 Dec 2024 06:43:10 UTC
The branch 2024Q4 has been updated by yuri:

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

commit f6af381bd11cc7ffc691aa5e453ff877bf565e16
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2024-12-15 06:41:58 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-12-15 06:43:08 +0000

    net/libfabric:  fix build on armv7
    
    PR:             283169
    (cherry picked from commit a0759227bb7df1171119c18839c434cd88f5f878)
---
 net/libfabric/Makefile | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/net/libfabric/Makefile b/net/libfabric/Makefile
index 051713e90c52..1a578fd6e69a 100644
--- a/net/libfabric/Makefile
+++ b/net/libfabric/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libfabric
 DISTVERSION=	1.15.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net
 MASTER_SITES=	https://github.com/ofiwg/${PORTNAME}/releases/download/v${DISTVERSION}/
 
@@ -33,14 +33,18 @@ OPTIONS_DEFAULT=		${OPTIONS_MULTI_PROVIDERS}
 OPTIONS_SUB=			yes
 PROVIDERS_DESC=			Providers to build:
 
-OPTIONS_MULTI_PROVIDERS+=	VERBS
-VERBS_PLIST_FILES=		share/man/man7/fi_verbs.7.gz
-
 .for p in ${OPTIONS_MULTI_PROVIDERS}
 ${p}_DESC=			'${p:tl}' provider
 ${p}_CONFIGURE_ENABLE=		${p:tl}
 .endfor
 
+.include <bsd.port.options.mk>
+
+.if ! ( ${ARCH} == armv7 && ${OSREL:R} >= 14 )
+OPTIONS_MULTI_PROVIDERS+=	VERBS
+VERBS_PLIST_FILES=		share/man/man7/fi_verbs.7.gz
+.endif
+
 SED_WRAP_CLOSE=	{ \
 		i\\\n \
 		\#ifdef SHIM_SYS_SHIM_HELPERS\\\n \