aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-06-15 17:14:26 +0800
committerdelphij <delphij@FreeBSD.org>2007-06-15 17:14:26 +0800
commit1688f53aac43fe39c87154915d37579ee76beede (patch)
tree9f22b46bdc01560951041ed6b8d17288ef10dc4a
parent544ed0737828291a8209515917f654aeab347cbb (diff)
downloadfreebsd-ports-graphics-1688f53aac43fe39c87154915d37579ee76beede.tar.gz
freebsd-ports-graphics-1688f53aac43fe39c87154915d37579ee76beede.tar.zst
freebsd-ports-graphics-1688f53aac43fe39c87154915d37579ee76beede.zip
Actually make WITH_SSH conditional.
Pointed out by: sat Pointy hat to: delphij
-rw-r--r--benchmarks/iozone/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile
index 69dbfebb564..57069b0962a 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