summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-11-02 15:31:56 +0000
committertv <tv@pkgsrc.org>2005-11-02 15:31:56 +0000
commitb400d2dbb48edd9b38f1ef7b16c7b5311499002c (patch)
tree462ce05afa84a78ab58f9613329b5e39de53638f /net
parent73ad5a5940e55b846c10c58486a9d685ebf7d96a (diff)
downloadpkgsrc-b400d2dbb48edd9b38f1ef7b16c7b5311499002c.tar.gz
Use the options framework to force the requirement that IPv6 be available.
Diffstat (limited to 'net')
-rw-r--r--net/sipcalc/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/net/sipcalc/Makefile b/net/sipcalc/Makefile
index 7ee352898de..6e5a964a3f4 100644
--- a/net/sipcalc/Makefile
+++ b/net/sipcalc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/11/01 18:42:46 tv Exp $
+# $NetBSD: Makefile,v 1.6 2005/11/02 15:31:56 tv Exp $
#
DISTNAME= sipcalc-1.1.2
@@ -12,10 +12,9 @@ COMMENT= IPv4/IPv6 subnet calculator
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --disable-web
-.include "../../mk/bsd.prefs.mk"
-
-.if empty(_OPSYS_HAS_INET6:M[Yy][Ee][Ss])
-PKG_SKIP_REASON+= "${PKGNAME} requires IPv6 support libraries"
-.endif
+PKG_OPTIONS_VAR= PKG_OPTIONS.sipcalc
+PKG_OPTIONS_REQUIRED_GROUPS= inet6 # require inet6 capability
+PKG_OPTIONS_GROUP.inet6= inet6
+.include "../../mk/bsd.options.mk"
.include "../../mk/bsd.pkg.mk"