--- Makefile.orig 2009-09-11 17:24:22.000000000 +0300 +++ Makefile 2011-02-21 13:38:32.000000000 +0200 @@ -22,6 +22,8 @@ MAN1= trafshow.1 +OPTIONS= IPV6 "Build with IPv6 support" off + .include post-patch: @@ -32,6 +34,10 @@ @${PATCH} -d ${WRKSRC} < ${FILESDIR}/extra-patch-800074+ .endif +.if defined(WITH_IPV6) +CFLAGS+= -DINET6 +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/man/man1