summaryrefslogtreecommitdiff
path: root/net/gethost
diff options
context:
space:
mode:
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"