From b400d2dbb48edd9b38f1ef7b16c7b5311499002c Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 2 Nov 2005 15:31:56 +0000 Subject: Use the options framework to force the requirement that IPv6 be available. --- net/sipcalc/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'net') 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" -- cgit v1.2.3