pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ttt Add ipv6 option.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b229bc260e11
branches:  trunk
changeset: 534223:b229bc260e11
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Oct 14 02:04:38 2007 +0000

description:
Add ipv6 option.
Patch provided by Yakovetsky Vladimir in PR 37092.

diffstat:

 net/ttt/Makefile   |   4 +++-
 net/ttt/options.mk |  12 ++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r e73cddc8444a -r b229bc260e11 net/ttt/Makefile
--- a/net/ttt/Makefile  Sun Oct 14 01:42:27 2007 +0000
+++ b/net/ttt/Makefile  Sun Oct 14 02:04:38 2007 +0000
@@ -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 @@
 .endif
 .endif
 
+.include "options.mk"
+
 .include "../../net/libpcap/buildlink3.mk"
 .include "../../x11/blt/buildlink3.mk"
 .include "../../x11/tk/buildlink3.mk"
diff -r e73cddc8444a -r b229bc260e11 net/ttt/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ttt/options.mk        Sun Oct 14 02:04:38 2007 +0000
@@ -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



Home | Main Index | Thread Index | Old Index