5372e5eb82
Incorporates port patches Fixes type warnings on 32 bit and 64 bit with clang Should fix iozone on some of the more "esoteric" arches PR: 211289 Sponsored by: iXsystems
41 lines
944 B
Makefile
41 lines
944 B
Makefile
# Created by: jmz
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= iozone
|
|
DISTVERSION= 3_457
|
|
CATEGORIES= benchmarks
|
|
MASTER_SITES= http://www.iozone.org/src/current/
|
|
DISTNAME= ${PORTNAME}${DISTVERSION}
|
|
|
|
MAINTAINER= jpaetzel@FreeBSD.org
|
|
COMMENT= Performance Test of Sequential File I/O
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src/current
|
|
|
|
USES= tar
|
|
MAKEFILE= makefile
|
|
MAKE_ARGS= ${MAKE_ENV}
|
|
ALL_TARGET= freebsd
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
PLIST_FILES= bin/iozone man/man1/iozone.1.gz
|
|
|
|
OPTIONS_DEFINE= SSH THREADS
|
|
OPTIONS_DEFAULT=SSH THREADS
|
|
|
|
SSH_DESC= Use ssh in distributed measurement
|
|
THREADS_DESC= Enable threading (uses pthreads)
|
|
|
|
THREADS_LDFLAGS= -lpthread
|
|
THREADS_CFLAGS_OFF= -DNO_THREADS
|
|
|
|
post-patch-SSH-on:
|
|
@${REINPLACE_CMD} -e 's|shell\,\"rsh\"|shell\,\"ssh\"|' \
|
|
${WRKSRC}/iozone.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/iozone ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/iozone.1 \
|
|
${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|