git: cd14a91411b3 - main - benchmarks/fio: Disable libnfs support by default

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

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

commit cd14a91411b3b58f44c7d7b4d5940c356bb3602e
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:10:57 +0000

    benchmarks/fio: Disable libnfs support by default
    
    PR:             258349
    Reported by:    John Hein <jcfyecrayz@liamekaens.com>
---
 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