pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/totd Force requiring IPv6 capability.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e35a1a92dbc3
branches:  trunk
changeset: 502253:e35a1a92dbc3
user:      tv <tv%pkgsrc.org@localhost>
date:      Thu Nov 03 16:55:26 2005 +0000

description:
Force requiring IPv6 capability.

diffstat:

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

diffs (28 lines):

diff -r 65c4e2c07c1e -r e35a1a92dbc3 net/totd/Makefile
--- a/net/totd/Makefile Thu Nov 03 16:53:34 2005 +0000
+++ b/net/totd/Makefile Thu Nov 03 16:55:26 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2005/04/11 21:47:01 tv Exp $
+# $NetBSD: Makefile,v 1.18 2005/11/03 16:55:26 tv Exp $
 #
 
 DISTNAME=      totd-1.4
@@ -12,13 +12,14 @@
 GNU_CONFIGURE= yes
 CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR}
 
-.include "../../mk/bsd.prefs.mk"
-# always IPv6 ready
-BUILD_DEFS+=   USE_INET6
-
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/totd
        ${INSTALL_DATA} ${FILESDIR}/totd.conf.sample \
                ${PREFIX}/share/examples/totd/totd.conf.sample
 
+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