View | Details | Raw Unified | Return to bug 254301
Collapse All | Expand All

(-)Makefile (+10 lines)
Lines 25-30 Link Here
25
PLIST_FILES=	sbin/yersinia \
25
PLIST_FILES=	sbin/yersinia \
26
		man/man8/yersinia.8.gz
26
		man/man8/yersinia.8.gz
27
27
28
OPTIONS_DEFINE=         PORTS_PCAP
29
30
PORTS_PCAP_DESC=        Use ports PCAP instead of system PCAP
31
32
PORTS_PCAP_CONFIGURE_ON=        --with-pcap-includes=${LOCALBASE}/include
33
PORTS_PCAP_CONFIGURE_OFF=       --with-pcap-includes=/usr/include
34
PORTS_PCAP_BUILD_DEPENDS=       ${LOCALBASE}/lib/libpcap.a:net/libpcap
35
36
.include <bsd.port.options.mk>
37
28
post-patch:
38
post-patch:
29
	@${REINPLACE_CMD} -e 's,-O3 -Wall -g,${CFLAGS} -fcommon,' \
39
	@${REINPLACE_CMD} -e 's,-O3 -Wall -g,${CFLAGS} -fcommon,' \
30
		${WRKSRC}/configure.ac
40
		${WRKSRC}/configure.ac

Return to bug 254301