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

(-)sysutils/pftop/Makefile (-1 / +2 lines)
Lines 29-35 Link Here
29
.endif
29
.endif
30
30
31
.if ${OSVERSION} >= 900000
31
.if ${OSVERSION} >= 900000
32
BROKEN=		does not compile on 9.X
32
CFLAGS+=	-DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1
33
.endif
33
.endif
34
34
35
MAKE_ENV+=	__MAKE_CONF=/dev/null
35
MAKE_ENV+=	__MAKE_CONF=/dev/null
Lines 41-46 Link Here
41
	    ${WRKSRC}/engine.c
41
	    ${WRKSRC}/engine.c
42
	@${REINPLACE_CMD} -e 's|__dead|__dead2|g' ${WRKSRC}/sf-gencode.h
42
	@${REINPLACE_CMD} -e 's|__dead|__dead2|g' ${WRKSRC}/sf-gencode.h
43
	@${REINPLACE_CMD} -e 's|__dead|__dead2|g' ${WRKSRC}/sf-gencode.c
43
	@${REINPLACE_CMD} -e 's|__dead|__dead2|g' ${WRKSRC}/sf-gencode.c
44
	@${REINPLACE_CMD} -e 's|__inline__|static __inline__|g' ${WRKSRC}/pftop.c
44
	@${REINPLACE_CMD} -e 's|#include <net/if_pflog.h>||g' \
45
	@${REINPLACE_CMD} -e 's|#include <net/if_pflog.h>||g' \
45
	    ${WRKSRC}/sf-gencode.c
46
	    ${WRKSRC}/sf-gencode.c

Return to bug 155938