From cd6d154384f124a3fad132ee94f0da46d2add371 Mon Sep 17 00:00:00 2001 From: obache Date: Fri, 15 Apr 2011 08:34:00 +0000 Subject: Use USE_FEATURES=inet6 for requirement of IPv6 support, instead of unusual usage of PKG_OPTIONS. --- net/totd/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'net/totd') 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" -- cgit v1.2.3