freebsd-ports/security/honggfuzz/Makefile
Mark Linimon 0a534ed4c7 Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2017-05-13 23:36:16 +00:00

36 lines
945 B
Makefile

# Created by: Sofian Brabez <sbrabez@gmail.com>
# $FreeBSD$
PORTNAME= honggfuzz
PORTVERSION= 0.7
CATEGORIES= security
MAINTAINER= sbz@FreeBSD.org
COMMENT= General-purpose fuzzer with simple, command-line interface
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_powerpc64= fails to compile: cc1: error: unrecognized command line option -Wframe-larger-than=131072
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= google
GC_TAGNAME= 6d01e82
OPTIONS_DEFINE= EXAMPLES
# inplace replacement to remove relative binary path in examples scripts
post-patch:
@${REINPLACE_CMD} -i "" -E "s,\.\./,," ${WRKSRC}/examples/*.sh
@${REINPLACE_CMD} -i "" -e 's,gcc,${CC},' \
-e 's| -Werror||' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>