blob: 9078dcebc9dd0b86519fbcf3e40766b73c8f180b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $FreeBSD$
PORTNAME= stress-ng
PORTVERSION= 0.10.00
CATEGORIES= benchmarks
MASTER_SITES= http://kernel.ubuntu.com/~cking/tarballs/stress-ng/
MAINTAINER= pizzamig@FreeBSD.org
COMMENT= Stress test benchmarks
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_aarch64= Fails to link: missing sbrk
USES= compiler:c11 gmake tar:xz
ALL_TARGET= # empty
PLIST_FILES= bin/stress-ng man/man1/stress-ng.1.gz
post-patch:
${REINPLACE_CMD} -e \
's/int main(void)/int main(void) __attributes__((noinline))/' \
${WRKSRC}/stress-atomic.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/stress-ng ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/stress-ng.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>
|