pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/www6to4 Require availability of IPv6.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/02bfa6e85eec
branches:  trunk
changeset: 502248:02bfa6e85eec
user:      tv <tv%pkgsrc.org@localhost>
date:      Thu Nov 03 16:33:43 2005 +0000

description:
Require availability of IPv6.

diffstat:

 www/www6to4/Makefile |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r 163e172a3436 -r 02bfa6e85eec www/www6to4/Makefile
--- a/www/www6to4/Makefile      Thu Nov 03 16:26:28 2005 +0000
+++ b/www/www6to4/Makefile      Thu Nov 03 16:33:43 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/06/17 03:50:43 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2005/11/03 16:33:43 tv Exp $
 #
 
 DISTNAME=      www6to4-1.5
@@ -11,10 +11,6 @@
 
 BUILD_TARGET=  # empty
 
-.include "../../mk/bsd.prefs.mk"
-# always IPv6 ready
-BUILD_DEFS+=   USE_INET6
-
 INSTALLATION_DIRS=     sbin
 
 do-install:
@@ -25,4 +21,9 @@
        ${INSTALL_DATA} ${WRKSRC}/www6to4_forward.conf \
                ${PREFIX}/share/examples/www6to4
 
+PKG_OPTIONS_VAR=               PKG_OPTIONS.sipcalc
+PKG_OPTIONS_REQUIRED_GROUPS=   inet6 # require inet6 capability
+PKG_OPTIONS_GROUP.inet6=       inet6
+
+.include "../../mk/bsd.options.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index