mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Update to 3.319
PR: ports/131772 Submitted by: Chifeng Qu <chifeng at gmail.com>
This commit is contained in:
parent
45b64fced4
commit
fcdcef9846
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=228541
3 changed files with 9 additions and 18 deletions
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= iozone
|
||||
PORTVERSION= 3.283
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 3.319
|
||||
CATEGORIES= benchmarks
|
||||
MASTER_SITES= http://www.iozone.org/src/current/
|
||||
DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/}
|
||||
|
@ -40,10 +39,13 @@ CFLAGS+=-DNO_THREADS
|
|||
.endif
|
||||
|
||||
.if defined (WITH_SSH)
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|shell\,\"rsh\"|shell\,\"ssh\"|' ${WRKSRC}/iozone.c
|
||||
post-patch::
|
||||
@${REINPLACE_CMD} -e 's|shell\,\"rsh\"|shell\,\"ssh\"|' ${WRKSRC}/iozone.c
|
||||
.endif
|
||||
|
||||
post-patch::
|
||||
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/makefile
|
||||
|
||||
do-install:
|
||||
${STRIP_CMD} ${WRKSRC}/iozone
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/iozone ${PREFIX}/bin
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (iozone3_283.tar) = b14081c6b6430d7bcace3fbd93f89519
|
||||
SHA256 (iozone3_283.tar) = 88202956d8a78c7cde38a41c6ad6fd70f4637f14e34c4cf04a5f5a43dc001ae2
|
||||
SIZE (iozone3_283.tar) = 1525760
|
||||
MD5 (iozone3_319.tar) = 16ded14f530b15bc698936452a1ebbd7
|
||||
SHA256 (iozone3_319.tar) = 77db62f556467ad676b26b521d549acf2755b2b88a26e270a59f59582fbab220
|
||||
SIZE (iozone3_319.tar) = 1576960
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- makefile.orig Sat Oct 28 22:48:00 2006
|
||||
+++ makefile Thu Jan 11 21:41:17 2007
|
||||
@@ -389,7 +389,7 @@
|
||||
#
|
||||
|
||||
freebsd: iozone_freebsd.o libbif.o fileop_freebsd.o libasync.o
|
||||
- $(CC) $(LDFLAGS) iozone_freebsd.o libbif.o -lpthread libasync.o \
|
||||
+ $(CC) $(LDFLAGS) iozone_freebsd.o libbif.o $(PTHREAD_LIBS) libasync.o \
|
||||
-o iozone
|
||||
$(CC) -O fileop_freebsd.o -o fileop
|
||||
|
Loading…
Add table
Reference in a new issue