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

(-)Makefile (+6 lines)
Lines 22-27 Link Here
22
22
23
MAN1=		trafshow.1
23
MAN1=		trafshow.1
24
24
25
OPTIONS=        IPV6           "Build with IPv6 support" off
26
25
.include <bsd.port.pre.mk>
27
.include <bsd.port.pre.mk>
26
28
27
post-patch:
29
post-patch:
Lines 32-37 Link Here
32
	@${PATCH} -d ${WRKSRC} < ${FILESDIR}/extra-patch-800074+
34
	@${PATCH} -d ${WRKSRC} < ${FILESDIR}/extra-patch-800074+
33
.endif
35
.endif
34
36
37
.if defined(WITH_IPV6)
38
CFLAGS+=	-DINET6
39
.endif
40
35
do-install:
41
do-install:
36
	${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin
42
	${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin
37
	${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/man/man1
43
	${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/man/man1

Return to bug 154932