Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= afl |
4 |
PORTNAME= afl |
5 |
PORTVERSION= 1.86b |
5 |
PORTVERSION= 1.95b |
6 |
CATEGORIES= security |
6 |
CATEGORIES= security |
7 |
MASTER_SITES= http://lcamtuf.coredump.cx/afl/releases/ |
7 |
MASTER_SITES= http://lcamtuf.coredump.cx/afl/releases/ |
8 |
|
8 |
|
Lines 37-49
BUILD_DEPENDS += ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
Link Here
|
37 |
RUN_DEPENDS += ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils |
37 |
RUN_DEPENDS += ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils |
38 |
.endif |
38 |
.endif |
39 |
|
39 |
|
40 |
.if ${PORT_OPTIONS:MMINIMIZE_CORPUS} |
40 |
MINIMIZE_CORPUS_RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash |
41 |
RUN_DEPENDS+= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash |
41 |
PLOT_SUPORT_RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot |
42 |
.endif |
|
|
43 |
|
44 |
.if ${PORT_OPTIONS:MPLOT_SUPPORT} |
45 |
RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot |
46 |
.endif |
47 |
|
42 |
|
48 |
post-patch: |
43 |
post-patch: |
49 |
.if ! ${PORT_OPTIONS:MTEST_INSTRUMENTATION} |
44 |
.if ! ${PORT_OPTIONS:MTEST_INSTRUMENTATION} |
Lines 60-70
post-patch:
Link Here
|
60 |
${REINPLACE_CMD} -e 's@\( as_params\[0\] = "\)@\1${LOCALBASE}/bin/@' \ |
55 |
${REINPLACE_CMD} -e 's@\( as_params\[0\] = "\)@\1${LOCALBASE}/bin/@' \ |
61 |
${WRKSRC}/afl-as.c |
56 |
${WRKSRC}/afl-as.c |
62 |
.endif |
57 |
.endif |
63 |
# XXX remove once 8.4-RELEASE is EOL |
|
|
64 |
# GNU as 2.15 doesn't understand lahf/sahf on amd64 |
65 |
${REINPLACE_CMD} -e 's@ifdef.*\(__OpenBSD__\)@if defined(\1) || \ |
66 |
(defined(__FreeBSD__) \&\& __FreeBSD__ < 9)@' \ |
67 |
${WRKSRC}/afl-as.h |
68 |
|
58 |
|
69 |
post-install: |
59 |
post-install: |
70 |
${INSTALL_DATA} ${WRKSRC}/docs/COPYING ${STAGEDIR}${DOCSDIR}/ |
60 |
${INSTALL_DATA} ${WRKSRC}/docs/COPYING ${STAGEDIR}${DOCSDIR}/ |