diff options
author | obache <obache> | 2007-10-14 02:04:38 +0000 |
---|---|---|
committer | obache <obache> | 2007-10-14 02:04:38 +0000 |
commit | f664f1c4727527ad22b9f21282f6d528cf95e1a6 (patch) | |
tree | d804c7bbb0c90215ca80a8c6f15edd8f6e742a3c | |
parent | 18d37d470cba03b827638c36de74dc44b8a2e623 (diff) | |
download | pkgsrc-f664f1c4727527ad22b9f21282f6d528cf95e1a6.tar.gz |
Add ipv6 option.
Patch provided by Yakovetsky Vladimir in PR 37092.
-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 |