summaryrefslogtreecommitdiff
path: root/net/gethost
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-04-15 08:34:00 +0000
committerobache <obache@pkgsrc.org>2011-04-15 08:34:00 +0000
commit4ec560d37a86400fb494c7197f6258d1ee753bc9 (patch)
tree67c5928c076152fed5d3d543ca3cfeabd48eec6f /net/gethost
parentbe926c94c4048cf37b3f12ecaf51891bc330ac55 (diff)
downloadpkgsrc-4ec560d37a86400fb494c7197f6258d1ee753bc9.tar.gz
Use USE_FEATURES=inet6 for requirement of IPv6 support, instead of unusual usage
of PKG_OPTIONS.
Diffstat (limited to 'net/gethost')
-rw-r--r--net/gethost/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/net/gethost/Makefile b/net/gethost/Makefile
index a6ab2121073..292973252ae 100644
--- a/net/gethost/Makefile
+++ b/net/gethost/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2008/06/20 01:09:30 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2011/04/15 08:34:00 obache Exp $
DISTNAME= gethost-0.03
CATEGORIES= net
@@ -11,6 +11,8 @@ COMMENT= Hostname and IP resolver for testing /etc/hosts and nsswitch.conf
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
+USE_FEATURES+= inet6
+
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
BUILD_TARGET= gethost
@@ -23,9 +25,4 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gethost ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/gethost.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
-PKG_OPTIONS_VAR= PKG_OPTIONS.gethost
-PKG_OPTIONS_REQUIRED_GROUPS= inet6 # require inet6 capability
-PKG_OPTIONS_GROUP.inet6= inet6
-
-.include "../../mk/bsd.options.mk"
.include "../../mk/bsd.pkg.mk"