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