[Midnightbsd-cvs] mports: Makefile: enable ssh support
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Aug 22 10:49:22 EDT 2008
Log Message:
-----------
enable ssh support
Modified Files:
--------------
mports/benchmarks/iozone:
Makefile (r1.3 -> r1.4)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/benchmarks/iozone/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -L benchmarks/iozone/Makefile -L benchmarks/iozone/Makefile -u -r1.3 -r1.4
--- benchmarks/iozone/Makefile
+++ benchmarks/iozone/Makefile
@@ -8,7 +8,7 @@
PORTNAME= iozone
PORTVERSION= 3.283
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= benchmarks
MASTER_SITES= http://www.iozone.org/src/current/
DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/}
@@ -29,7 +29,8 @@
MAN1= iozone.1
PLIST_FILES= bin/iozone
-OPTIONS= THREADS "Enable threading (uses pthreads)" on
+OPTIONS= THREADS "Enable threading (uses pthreads)" on \
+ SSH "Use SSH in Distributed environment" on
.include <bsd.port.pre.mk>
@@ -40,6 +41,11 @@
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
${INSTALL_PROGRAM} ${WRKSRC}/iozone ${PREFIX}/bin
More information about the Midnightbsd-cvs
mailing list