aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/iozone
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2007-06-15 09:14:26 +0000
committerXin LI <delphij@FreeBSD.org>2007-06-15 09:14:26 +0000
commitaa91c1e54344cfa6bdeb9042f3ed4b1a0bd49212 (patch)
treeb69c5627aa266ef2f25a319b66813a4d4f4e9c30 /benchmarks/iozone
parentcfccb0a844c9e5d930b1fd47dd23a7b37eb5d9a6 (diff)
downloadports-aa91c1e54344cfa6bdeb9042f3ed4b1a0bd49212.tar.gz
ports-aa91c1e54344cfa6bdeb9042f3ed4b1a0bd49212.zip
Actually make WITH_SSH conditional.
Pointed out by: sat Pointy hat to: delphij
Notes
Notes: svn path=/head/; revision=193558
Diffstat (limited to 'benchmarks/iozone')
-rw-r--r--benchmarks/iozone/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile
index 69dbfebb5646..57069b0962a5 100644
--- a/benchmarks/iozone/Makefile
+++ b/benchmarks/iozone/Makefile
@@ -39,8 +39,10 @@ MAKE_ENV= LDFLAGS=${PTHREAD_LIBS}
CFLAGS+=-DNO_THREADS
.endif
+.if defined (WITH_SSH)
post-patch:
${REINPLACE_CMD} -e 's|shell\,\"rsh\"|shell\,\"ssh\"|' ${WRKSRC}/iozone.c
+.endif
do-install:
${STRIP_CMD} ${WRKSRC}/iozone