summaryrefslogtreecommitdiff
path: root/net/totd
diff options
context:
space:
mode:
authorobache <obache>2011-04-15 08:34:00 +0000
committerobache <obache>2011-04-15 08:34:00 +0000
commit73eae1ba87aaa7fef02b5c51a9c0e6cc22a5f7c5 (patch)
tree67c5928c076152fed5d3d543ca3cfeabd48eec6f /net/totd
parentbb89209458834b63cb61547124d9c1052297e34b (diff)
downloadpkgsrc-73eae1ba87aaa7fef02b5c51a9c0e6cc22a5f7c5.tar.gz
Use USE_FEATURES=inet6 for requirement of IPv6 support, instead of unusual usage
of PKG_OPTIONS.
Diffstat (limited to 'net/totd')
-rw-r--r--net/totd/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/net/totd/Makefile b/net/totd/Makefile
index 2d0328693c1..e9995f9722e 100644
--- a/net/totd/Makefile
+++ b/net/totd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2010/01/27 17:33:43 joerg Exp $
+# $NetBSD: Makefile,v 1.31 2011/04/15 08:34:00 obache Exp $
#
DISTNAME= totd-1.5.1
@@ -12,11 +12,9 @@ COMMENT= DNS proxy that supports IPv6 <==> IPv4 record translation
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR:Q}
+USE_FEATURES+= inet6
-PKG_OPTIONS_VAR= PKG_OPTIONS.totd
-PKG_OPTIONS_REQUIRED_GROUPS= inet6 # require inet6 capability
-PKG_OPTIONS_GROUP.inet6= inet6
+CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR:Q}
BUILDLINK_TRANSFORM+= rm:-Werror
@@ -28,5 +26,4 @@ do-install:
${INSTALL_DATA} ${FILESDIR}/totd.conf.sample \
${DESTDIR}${PREFIX}/share/examples/totd/totd.conf.sample
-.include "../../mk/bsd.options.mk"
.include "../../mk/bsd.pkg.mk"