svn commit: r561869 - head/benchmarks/stress-ng
Luca Pizzamiglio
pizzamig at FreeBSD.org
Sun Jan 17 21:18:17 UTC 2021
Author: pizzamig
Date: Sun Jan 17 21:18:16 2021
New Revision: 561869
URL: https://svnweb.freebsd.org/changeset/ports/561869
Log:
benchmarks/stress-ng: add option to disable inotify support
The option LIBINOTIFY, on by default, can be used to not build inotify
stressor and install its dependency.
No portrevision bump needed, inotify support was already enable.
Modified:
head/benchmarks/stress-ng/Makefile
Modified: head/benchmarks/stress-ng/Makefile
==============================================================================
--- head/benchmarks/stress-ng/Makefile Sun Jan 17 20:36:29 2021 (r561868)
+++ head/benchmarks/stress-ng/Makefile Sun Jan 17 21:18:16 2021 (r561869)
@@ -14,16 +14,19 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_aarch64= Fails to link: missing sbrk
-LIB_DEPENDS= libinotify.so:devel/libinotify
-
USES= compiler:c11 gmake tar:xz
ALL_TARGET= # empty
PLIST_FILES= bin/stress-ng man/man1/stress-ng.1.gz
-CFLAGS += -I${LOCALBASE}/include
-LDFLAGS += -L${LOCALBASE}/lib -linotify
+OPTIONS_DEFINE= LIBINOTIFY
+OPTIONS_DEFAULT= LIBINOTIFY
+LIBINOTIFY_DESC= Install the kevent based libinotify to enable its stress
+
+LIBINOTIFY_CFLAGS += -I${LOCALBASE}/include
+LIBINOTIFY_LDFLAGS += -L${LOCALBASE}/lib -linotify
+LIBINOTIFY_LIB_DEPENDS= libinotify.so:devel/libinotify
post-patch:
${REINPLACE_CMD} -e \
More information about the svn-ports-head
mailing list