Friday, July 29, 2022

benchmarks/fio: hidden dependency on libnfs

As reported by mpi on ICB, fio has a hidden dep on libnfs. We could also
neuter this by adding --disable-nfs to CONFIGURE_ARGS.

Index: Makefile
===================================================================
RCS file: /cvs/ports/benchmarks/fio/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- Makefile 20 May 2022 14:12:21 -0000 1.8
+++ Makefile 29 Jul 2022 14:03:49 -0000
@@ -4,6 +4,7 @@ GH_ACCOUNT= axboe
GH_PROJECT= fio
GH_TAGNAME= fio-3.30
PKGNAME= ${GH_TAGNAME}
+REVISION= 0

CATEGORIES= benchmarks

@@ -19,7 +20,7 @@ PERMIT_PACKAGE= Yes
COMPILER= base-clang ports-gcc
COMPILER_LANGS= c

-WANTLIB= c m pthread z
+WANTLIB= c m pthread nfs z

USE_GMAKE= Yes
SEPARATE_BUILD= Yes
@@ -31,5 +32,7 @@ MAKE_FLAGS= V=1 \

CONFIGURE_ARGS= --disable-optimizations \
--disable-native
+
+LIB_DEPENDS= devel/libnfs

.include <bsd.port.mk>

No comments:

Post a Comment