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

(-)sysutils/pftop/Makefile (+8 lines)
Lines 59-64 Link Here
59
.if ${OPSYS} == DragonFly || ${OSVERSION} >= 1100070
59
.if ${OPSYS} == DragonFly || ${OSVERSION} >= 1100070
60
	@${REINPLACE_CMD} -e 's|altq/|net/&|' ${WRKSRC}/pftop.c
60
	@${REINPLACE_CMD} -e 's|altq/|net/&|' ${WRKSRC}/pftop.c
61
.endif
61
.endif
62
	@${REINPLACE_CMD} -e 's|#include .pcap-int.h.|#include <pcap/pcap.h>|g' \
63
		${WRKSRC}/bpf_image.c \
64
		${WRKSRC}/bpf_optimize.c \
65
		${WRKSRC}/pcap-nametoaddr.c \
66
		${WRKSRC}/sf-gencode.c \
67
		${WRKSRC}/sf-gencode.h \
68
		${WRKSRC}/sf-grammer.y \
69
		${WRKSRC}/sf-scanner.l
62
70
63
do-install:
71
do-install:
64
	${INSTALL_PROGRAM} ${WRKSRC}/pftop ${STAGEDIR}${PREFIX}/sbin
72
	${INSTALL_PROGRAM} ${WRKSRC}/pftop ${STAGEDIR}${PREFIX}/sbin

Return to bug 217219