Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 2021 23:37:53 +0000 (UTC)
From:      Luca Pizzamiglio <pizzamig@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561681 - head/benchmarks/stress-ng
Message-ID:  <202101152337.10FNbr02053728@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pizzamig
Date: Fri Jan 15 23:37:53 2021
New Revision: 561681
URL: https://svnweb.freebsd.org/changeset/ports/561681

Log:
  benchmarks/stress-ng: Add and fix libinotify support
  
  stress-ng supports libinotify. A kevent based implementation can be used
  to provide support, fixing a build issue reported in PR 252661
  
  PR:		252661
  Reported by:	dewayne@heuristicsystems.com.au

Modified:
  head/benchmarks/stress-ng/Makefile

Modified: head/benchmarks/stress-ng/Makefile
==============================================================================
--- head/benchmarks/stress-ng/Makefile	Fri Jan 15 23:37:39 2021	(r561680)
+++ head/benchmarks/stress-ng/Makefile	Fri Jan 15 23:37:53 2021	(r561681)
@@ -2,6 +2,7 @@
 
 PORTNAME=	stress-ng
 PORTVERSION=	0.12.01
+PORTREVISION=	1
 CATEGORIES=	benchmarks
 MASTER_SITES=	http://kernel.ubuntu.com/~cking/tarballs/stress-ng/
 
@@ -13,11 +14,16 @@ 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
 
 post-patch:
 	${REINPLACE_CMD} -e \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101152337.10FNbr02053728>