Index: head/benchmarks/stress-ng/Makefile =================================================================== --- head/benchmarks/stress-ng/Makefile (revision 409210) +++ head/benchmarks/stress-ng/Makefile (revision 409211) @@ -1,29 +1,30 @@ # $FreeBSD$ PORTNAME= stress-ng -PORTVERSION= 0.04.21 +PORTVERSION= 0.05.18 CATEGORIES= benchmarks MASTER_SITES= http://kernel.ubuntu.com/~cking/tarballs/stress-ng/ MAINTAINER= luca.pizzamiglio@gmail.com COMMENT= Stress test benchmarks LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING +USES= gmake ALL_TARGET= # empty PLIST_FILES= bin/stress-ng man/man1/stress-ng.1.gz .include .if ${OSVERSION} < 1000000 EXTRA_PATCHES+= ${FILESDIR}/extrapatch-stress-cpu.c \ ${FILESDIR}/extrapatch-Makefile .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/stress-ng ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/stress-ng.1 ${STAGEDIR}${MANDIRS}/man1 .include Index: head/benchmarks/stress-ng/distinfo =================================================================== --- head/benchmarks/stress-ng/distinfo (revision 409210) +++ head/benchmarks/stress-ng/distinfo (revision 409211) @@ -1,2 +1,2 @@ -SHA256 (stress-ng-0.04.21.tar.gz) = 72cd94ee22e8783ca17c537c8d3fc4918c53ede6d60e897e9f4ca732589153dc -SIZE (stress-ng-0.04.21.tar.gz) = 241559 +SHA256 (stress-ng-0.05.18.tar.gz) = f99ca056e8d3d213db20c8c4743d5785bf3097dc621936e33e7f2af70863a08f +SIZE (stress-ng-0.05.18.tar.gz) = 292138 Index: head/benchmarks/stress-ng/files/extrapatch-Makefile =================================================================== --- head/benchmarks/stress-ng/files/extrapatch-Makefile (revision 409210) +++ head/benchmarks/stress-ng/files/extrapatch-Makefile (revision 409211) @@ -1,11 +1,11 @@ ---- Makefile.orig 2015-09-25 10:15:45 UTC -+++ Makefile -@@ -165,7 +165,7 @@ OBJS = $(SRC:.c=.o) +--- Makefile.orig 2016-02-19 13:41:26.000000000 +0100 ++++ Makefile 2016-02-19 16:02:35.583431776 +0100 +@@ -307,7 +307,7 @@ @$(CC) $(CFLAGS) -c -o $@ $< stress-ng: $(OBJS) -- $(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) -lm -pthread -lrt -lcrypt -o $@ $(LDFLAGS) -+ $(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) -lm -pthread -lrt -lcrypt -lstdc++ -o $@ $(LDFLAGS) +- $(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) -lm $(LDFLAGS) -o $@ ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) -lm -lstdc++ $(LDFLAGS) -o $@ - stress-cpu.o: stress-cpu.c - @echo $(CC) $(CFLAGS) -c -o $@ $< + # + # check if we can build against AppArmor