Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jul 2016 17:44:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 211152] benchmarks/izone: iozone.c:363:19: error: typedef redefinition with different types ('long long' vs '__off64_t' (aka 'long'))
Message-ID:  <bug-211152-13-2iM9zt1gjB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211152-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211152-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211152

--- Comment #3 from w.schwarzenfeld@utanet.at ---
If it maybe not the right way, but above was incomplete:

+.include <bsd.port.pre.mk>

+post-patch:
+.if ${OPSYS} =3D=3D FreeBSD && ${OSVERSION} >=3D 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>

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211152-13-2iM9zt1gjB>