diff options
Diffstat (limited to 'net/ttt')
-rw-r--r-- | net/ttt/Makefile | 4 | ||||
-rw-r--r-- | net/ttt/options.mk | 12 |
2 files changed, 15 insertions, 1 deletions
diff --git a/net/ttt/Makefile b/net/ttt/Makefile index e45810d66b6..75ef9014886 100644 --- a/net/ttt/Makefile +++ b/net/ttt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2007/09/07 13:53:44 obache Exp $ +# $NetBSD: Makefile,v 1.18 2007/10/14 02:04:38 obache Exp $ # DISTNAME= ttt-1.8.2 @@ -21,6 +21,8 @@ INSTALL_TARGET= install install-man .endif .endif +.include "options.mk" + .include "../../net/libpcap/buildlink3.mk" .include "../../x11/blt/buildlink3.mk" .include "../../x11/tk/buildlink3.mk" diff --git a/net/ttt/options.mk b/net/ttt/options.mk new file mode 100644 index 00000000000..074628bf655 --- /dev/null +++ b/net/ttt/options.mk @@ -0,0 +1,12 @@ +# $NetBSD: options.mk,v 1.1 2007/10/14 02:04:38 obache Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.ttt +PKG_SUPPORTED_OPTIONS+= inet6 + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif |