diff options
author | itojun <itojun> | 2001-03-22 06:46:11 +0000 |
---|---|---|
committer | itojun <itojun> | 2001-03-22 06:46:11 +0000 |
commit | e6bc22bd1e8545c399272a67da1f0bebe0d384dd (patch) | |
tree | 563cd2c107ae955b7c8abf36ac571d374f86259b /net/trafshow/Makefile | |
parent | 5e739312bf1a14c381a3e4d970e4f4433f26d3ba (diff) | |
download | pkgsrc-e6bc22bd1e8545c399272a67da1f0bebe0d384dd.tar.gz |
pull IPv6 patch in.
Diffstat (limited to 'net/trafshow/Makefile')
-rw-r--r-- | net/trafshow/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/net/trafshow/Makefile b/net/trafshow/Makefile index f3c8aa8d095..f2e481c750a 100644 --- a/net/trafshow/Makefile +++ b/net/trafshow/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2001/02/25 04:18:08 hubertf Exp $ +# $NetBSD: Makefile,v 1.8 2001/03/22 06:46:11 itojun Exp $ # $FreeBSD: ports/net/trafshow/Makefile,v 1.14 2000/06/28 12:53:15 alex Exp $ # @@ -7,6 +7,10 @@ CATEGORIES= net MASTER_SITES= ftp://ftp.nsk.su/pub/RinetSoftware/ EXTRACT_SUFX= .tgz +PATCHFILES= trafshow-31-v6-20010322a.diff.gz +PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/ +PATCH_DIST_STRIP+= -p1 + MAINTAINER= packages@netbsd.org HOMEPAGE= http://soft.risp.ru/trafshow/index.shtml COMMENT= Full screen visualization of the network traffic @@ -16,6 +20,14 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/autoreconf:../../devel/autoconf GNU_CONFIGURE= yes ALL_TARGET= trafshow +.include "../../mk/bsd.prefs.mk" + +BUILD_DEFS+= USE_INET6 + +.if defined(USE_INET6) && ${USE_INET6} == "YES" +CONFIGURE_ENV+= CPPFLAGS=-DINET6 +.endif + pre-configure: cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf |