[Bug 211152] benchmarks/izone: iozone.c:363:19: error: typedef redefinition with different types ('long long' vs '__off64_t' (aka 'long'))
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jul 16 17:44:03 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211152
--- Comment #3 from w.schwarzenfeld at utanet.at ---
If it maybe not the right way, but above was incomplete:
+.include <bsd.port.pre.mk>
+post-patch:
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000
+ @${REINPLACE_CMD} -e '363d' ${WRKSRC}/iozone.c
+.endif
post-patch-SSH-on:
@${REINPLACE_CMD} -e 's|shell\,\"rsh\"|shell\,\"ssh\"|' \
${WRKSRC}/iozone.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/iozone ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/iozone.1 \
${STAGEDIR}${MAN1PREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list