summaryrefslogtreecommitdiff
path: root/net/totd
diff options
context:
space:
mode:
authortv <tv>2005-11-03 16:55:26 +0000
committertv <tv>2005-11-03 16:55:26 +0000
commita7ac557f5b396b27f8390553802561faa42596e3 (patch)
tree21285ccab27e63fa0437f40cebea17bc9a8ec18e /net/totd
parentb7f2fcb3e3d87a15b9e33baaf133c2059ff4ee49 (diff)
downloadpkgsrc-a7ac557f5b396b27f8390553802561faa42596e3.tar.gz
Force requiring IPv6 capability.
Diffstat (limited to 'net/totd')
-rw-r--r--net/totd/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/net/totd/Makefile b/net/totd/Makefile
index 5997c2064fe..63be17aef75 100644
--- a/net/totd/Makefile
+++ b/net/totd/Makefile
@@ -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 @@ COMMENT= DNS proxy that supports IPv6 <==> IPv4 record translation
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"