summaryrefslogtreecommitdiff
path: root/net/sipcalc
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
commit5e5541c9847336e5067cc70827c96adf96416209 (patch)
tree462ce05afa84a78ab58f9613329b5e39de53638f /net/sipcalc
parent72b9cd8695a481455312c96d17daec45547544b0 (diff)
downloadpkgsrc-5e5541c9847336e5067cc70827c96adf96416209.tar.gz
Use the options framework to force the requirement that IPv6 be available.
Diffstat (limited to 'net/sipcalc')
-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"