From owner-svn-ports-all@freebsd.org Sun Jan 17 21:18:17 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 62B2A4D873D; Sun, 17 Jan 2021 21:18:17 +0000 (UTC) (envelope-from pizzamig@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DJnp12QNzz4XNP; Sun, 17 Jan 2021 21:18:17 +0000 (UTC) (envelope-from pizzamig@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4624927D62; Sun, 17 Jan 2021 21:18:17 +0000 (UTC) (envelope-from pizzamig@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10HLIHnv026694; Sun, 17 Jan 2021 21:18:17 GMT (envelope-from pizzamig@FreeBSD.org) Received: (from pizzamig@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10HLIHvF026693; Sun, 17 Jan 2021 21:18:17 GMT (envelope-from pizzamig@FreeBSD.org) Message-Id: <202101172118.10HLIHvF026693@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pizzamig set sender to pizzamig@FreeBSD.org using -f From: Luca Pizzamiglio Date: Sun, 17 Jan 2021 21:18:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r561869 - head/benchmarks/stress-ng X-SVN-Group: ports-head X-SVN-Commit-Author: pizzamig X-SVN-Commit-Paths: head/benchmarks/stress-ng X-SVN-Commit-Revision: 561869 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2021 21:18:17 -0000 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 \