diff options
author | obache <obache> | 2011-04-15 08:34:00 +0000 |
---|---|---|
committer | obache <obache> | 2011-04-15 08:34:00 +0000 |
commit | 73eae1ba87aaa7fef02b5c51a9c0e6cc22a5f7c5 (patch) | |
tree | 67c5928c076152fed5d3d543ca3cfeabd48eec6f /net/totd | |
parent | bb89209458834b63cb61547124d9c1052297e34b (diff) | |
download | pkgsrc-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/Makefile | 9 |
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" |