freebsd-ports/security/honggfuzz/Makefile
John Marino 0fab25a3e2 security/honggfuzz: Remove -Werror because it fails -pedantic check
Honggfuzz fails -pedantic checks on gcc-5.  This wouldn't be a problem
except for the fact -Werror was also set, so Werror is getting removed.

Approved by:	blanket
2015-02-22 13:54:34 +00:00

29 lines
785 B
Makefile

# Created by: Sofian Brabez <sbrabez@gmail.com>
# $FreeBSD$
PORTNAME= honggfuzz
PORTVERSION= 0.3
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= sbz@FreeBSD.org
COMMENT= General-purpose fuzzer with simple, command-line interface
LICENSE= APACHE20
USES= gmake tar:tgz
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
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>