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

(-)sysutils/pftop/Makefile (-1 / +1 lines)
Lines 34-39 CFLAGS+= -DHAVE_FINE_GRAINED_LOCKING=1 Link Here
34
34
35
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-engine.c
35
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-engine.c
36
36
37
MAKE_ARGS+=	CSTD=gnu89
37
MAKE_ENV+=	__MAKE_CONF=/dev/null
38
MAKE_ENV+=	__MAKE_CONF=/dev/null
38
39
39
PLIST_FILES=	sbin/pftop
40
PLIST_FILES=	sbin/pftop
Lines 43-49 post-patch: Link Here
43
	    ${WRKSRC}/engine.c
44
	    ${WRKSRC}/engine.c
44
	@${REINPLACE_CMD} -e 's|__dead|__dead2|g' ${WRKSRC}/sf-gencode.h
45
	@${REINPLACE_CMD} -e 's|__dead|__dead2|g' ${WRKSRC}/sf-gencode.h
45
	@${REINPLACE_CMD} -e 's|__dead|__dead2|g' ${WRKSRC}/sf-gencode.c
46
	@${REINPLACE_CMD} -e 's|__dead|__dead2|g' ${WRKSRC}/sf-gencode.c
46
	@${REINPLACE_CMD} -e 's|__inline__|static __inline__|g' ${WRKSRC}/pftop.c
47
	@${REINPLACE_CMD} -e 's|#include <net/if_pflog.h>||g' \
47
	@${REINPLACE_CMD} -e 's|#include <net/if_pflog.h>||g' \
48
	    ${WRKSRC}/sf-gencode.c
48
	    ${WRKSRC}/sf-gencode.c

Return to bug 180269