Actually make WITH_SSH conditional.

Pointed out by:	sat
Pointy hat to:	delphij
This commit is contained in:
Xin LI 2007-06-15 09:14:26 +00:00
parent cfccb0a844
commit aa91c1e543
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193558

View File

@ -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