git: 5934d43a8d97 - 2022Q2 - benchmarks/fio: Disable libnfs support by default

From: Kirill Ponomarev <krion_at_FreeBSD.org>
Date: Thu, 19 May 2022 07:11:41 UTC
The branch 2022Q2 has been updated by krion:

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

commit 5934d43a8d971696eb77c3a7679d77ce87cbc59a
Author:     Kirill Ponomarev <krion@FreeBSD.org>
AuthorDate: 2022-05-19 07:07:36 +0000
Commit:     Kirill Ponomarev <krion@FreeBSD.org>
CommitDate: 2022-05-19 07:11:37 +0000

    benchmarks/fio: Disable libnfs support by default
    
    PR:             258349
    Reported by:    John Hein <jcfyecrayz@liamekaens.com>
    
    (cherry picked from commit cd14a91411b3b58f44c7d7b4d5940c356bb3602e)
---
 benchmarks/fio/Makefile | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/benchmarks/fio/Makefile b/benchmarks/fio/Makefile
index 14ab9f2bf920..0079e46eb77e 100644
--- a/benchmarks/fio/Makefile
+++ b/benchmarks/fio/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	fio
 PORTVERSION=	3.30
+PORTREVISION=	1
 CATEGORIES=	benchmarks
 MASTER_SITES=	https://brick.kernel.dk/snaps/
 
@@ -13,15 +14,19 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		compiler:c11 gmake tar:bzip2
 
-HAS_CONFIGURE=	yes
+HAS_CONFIGURE=		yes
 CONFIGURE_ARGS+=	--disable-native
 
-OPTIONS_DEFINE=	EXAMPLES GNUPLOT
+CONFLICTS_INSTALL=	py*-Fiona
+
+OPTIONS_DEFINE=	EXAMPLES GNUPLOT LIBNFS
 GNUPLOT_DESC=	Support for plotting graphs
+LIBNFS_DESC=	Enable NFS support using libnfs
 
 GNUPLOT_BUILD_DEPENDS=	${LOCALBASE}/bin/gnuplot:math/gnuplot
+LIBNFS_LIB_DEPENDS=	libnfs.so:net/libnfs
 
-CONFLICTS_INSTALL=	py*-Fiona
+LIBNFS_CONFIGURE_OFF=	--disable-nfs
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/fio ${STAGEDIR}${PREFIX}/bin