aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorOlivier Cochard <olivier@FreeBSD.org>2017-01-03 14:07:04 +0000
committerOlivier Cochard <olivier@FreeBSD.org>2017-01-03 14:07:04 +0000
commit2cb1bcf551b461fad0d2d6d828d29373a4d90b10 (patch)
treefdaa5e5c87f79bad1c3e35a4a7c8b107372e953a /benchmarks
parent4b6360c05c2b6bd3ae1215cf785690381b909848 (diff)
downloadports-2cb1bcf551b461fad0d2d6d828d29373a4d90b10.tar.gz
ports-2cb1bcf551b461fad0d2d6d828d29373a4d90b10.zip
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/stress-ng/Makefile11
-rw-r--r--benchmarks/stress-ng/distinfo6
-rw-r--r--benchmarks/stress-ng/files/extrapatch-Makefile11
-rw-r--r--benchmarks/stress-ng/files/extrapatch-stress-cpu.h10
4 files changed, 5 insertions, 33 deletions
diff --git a/benchmarks/stress-ng/Makefile b/benchmarks/stress-ng/Makefile
index 4033d6095ccc..33b65872553f 100644
--- a/benchmarks/stress-ng/Makefile
+++ b/benchmarks/stress-ng/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= stress-ng
-PORTVERSION= 0.07.11
+PORTVERSION= 0.07.13
CATEGORIES= benchmarks
MASTER_SITES= http://kernel.ubuntu.com/~cking/tarballs/stress-ng/
@@ -18,15 +18,8 @@ ALL_TARGET= # empty
PLIST_FILES= bin/stress-ng man/man1/stress-ng.1.gz
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 1000000
-EXTRA_PATCHES+= ${FILESDIR}/extrapatch-stress-cpu.h \
- ${FILESDIR}/extrapatch-Makefile
-.endif
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/stress-ng ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/stress-ng.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/benchmarks/stress-ng/distinfo b/benchmarks/stress-ng/distinfo
index b5bbdffd7dd9..25db33668024 100644
--- a/benchmarks/stress-ng/distinfo
+++ b/benchmarks/stress-ng/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1482269395
-SHA256 (stress-ng-0.07.11.tar.gz) = cd75a64c585dc47e71641e4e654d7689ede0294b6beca7eec174a42462f57381
-SIZE (stress-ng-0.07.11.tar.gz) = 345544
+TIMESTAMP = 1483386553
+SHA256 (stress-ng-0.07.13.tar.gz) = 1fc8e60653ab75f288ce58b63ed162eedda2d5a2b254f0ad47ed6283deeddfe8
+SIZE (stress-ng-0.07.13.tar.gz) = 349935
diff --git a/benchmarks/stress-ng/files/extrapatch-Makefile b/benchmarks/stress-ng/files/extrapatch-Makefile
deleted file mode 100644
index 8c1c8c1a7d40..000000000000
--- a/benchmarks/stress-ng/files/extrapatch-Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig 2016-11-28 10:42:07.029535000 +0100
-+++ Makefile 2016-11-28 10:42:33.403489000 +0100
-@@ -392,7 +392,7 @@
- @$(CC) $(CFLAGS) -c -o $@ $<
-
- stress-ng: $(OBJS)
-- $(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) -lm $(LDFLAGS) -lc -o $@
-+ $(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) -lm -lstdc++ $(LDFLAGS) -lc -o $@
-
- #
- # check if we can build against AppArmor
diff --git a/benchmarks/stress-ng/files/extrapatch-stress-cpu.h b/benchmarks/stress-ng/files/extrapatch-stress-cpu.h
deleted file mode 100644
index 211bf4ded7da..000000000000
--- a/benchmarks/stress-ng/files/extrapatch-stress-cpu.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- stress-ng.h.orig 2016-11-28 10:45:15.430051000 +0100
-+++ stress-ng.h 2016-11-28 10:45:25.621013000 +0100
-@@ -27,6 +27,7 @@
- #define __STRESS_NG_H__
-
- #define _GNU_SOURCE
-+#define _DECLARE_C99_LDBL_MATH 1
-
- #include <stdarg.h>
- #include <stdint.h>