View | Details | Raw Unified | Return to bug 215728
Collapse All | Expand All

(-)benchmarks/stress-ng/Makefile (-9 / +2 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	stress-ng
3
PORTNAME=	stress-ng
4
PORTVERSION=	0.07.11
4
PORTVERSION=	0.07.13
5
CATEGORIES=	benchmarks
5
CATEGORIES=	benchmarks
6
MASTER_SITES=	http://kernel.ubuntu.com/~cking/tarballs/stress-ng/
6
MASTER_SITES=	http://kernel.ubuntu.com/~cking/tarballs/stress-ng/
7
7
Lines 18-32 ALL_TARGET= # empty Link Here
18
18
19
PLIST_FILES=	bin/stress-ng man/man1/stress-ng.1.gz
19
PLIST_FILES=	bin/stress-ng man/man1/stress-ng.1.gz
20
20
21
.include <bsd.port.pre.mk>
22
23
.if ${OSVERSION} < 1000000
24
EXTRA_PATCHES+=	${FILESDIR}/extrapatch-stress-cpu.h \
25
		${FILESDIR}/extrapatch-Makefile
26
.endif
27
28
do-install:
21
do-install:
29
	${INSTALL_PROGRAM} ${WRKSRC}/stress-ng ${STAGEDIR}${PREFIX}/bin
22
	${INSTALL_PROGRAM} ${WRKSRC}/stress-ng ${STAGEDIR}${PREFIX}/bin
30
	${INSTALL_MAN} ${WRKSRC}/stress-ng.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
23
	${INSTALL_MAN} ${WRKSRC}/stress-ng.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
31
24
32
.include <bsd.port.post.mk>
25
.include <bsd.port.mk>
(-)benchmarks/stress-ng/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1482269395
1
TIMESTAMP = 1483386553
2
SHA256 (stress-ng-0.07.11.tar.gz) = cd75a64c585dc47e71641e4e654d7689ede0294b6beca7eec174a42462f57381
2
SHA256 (stress-ng-0.07.13.tar.gz) = 1fc8e60653ab75f288ce58b63ed162eedda2d5a2b254f0ad47ed6283deeddfe8
3
SIZE (stress-ng-0.07.11.tar.gz) = 345544
3
SIZE (stress-ng-0.07.13.tar.gz) = 349935
(-)benchmarks/stress-ng/files/extrapatch-Makefile (-11 lines)
Removed Link Here
1
--- Makefile.orig	2016-11-28 10:42:07.029535000 +0100
2
+++ Makefile	2016-11-28 10:42:33.403489000 +0100
3
@@ -392,7 +392,7 @@
4
 	@$(CC) $(CFLAGS) -c -o $@ $<
5
 
6
 stress-ng: $(OBJS)
7
-	$(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) -lm $(LDFLAGS) -lc -o $@
8
+	$(CC) $(CPPFLAGS) $(CFLAGS) $(OBJS) -lm -lstdc++ $(LDFLAGS) -lc -o $@
9
 
10
 #
11
 #  check if we can build against AppArmor
(-)benchmarks/stress-ng/files/extrapatch-stress-cpu.h (-10 lines)
Removed Link Here
1
--- stress-ng.h.orig	2016-11-28 10:45:15.430051000 +0100
2
+++ stress-ng.h	2016-11-28 10:45:25.621013000 +0100
3
@@ -27,6 +27,7 @@
4
 #define __STRESS_NG_H__
5
 
6
 #define _GNU_SOURCE
7
+#define _DECLARE_C99_LDBL_MATH 1
8
 
9
 #include <stdarg.h>
10
 #include <stdint.h>

Return to bug 215728