diff options
author | tv <tv> | 2005-11-02 15:31:56 +0000 |
---|---|---|
committer | tv <tv> | 2005-11-02 15:31:56 +0000 |
commit | 5f84107eaad227face2ee48681237a739aa40555 (patch) | |
tree | 462ce05afa84a78ab58f9613329b5e39de53638f /net | |
parent | 718e2c53d8228cff373500fe4e7e727558933b0e (diff) | |
download | pkgsrc-5f84107eaad227face2ee48681237a739aa40555.tar.gz |
Use the options framework to force the requirement that IPv6 be available.
Diffstat (limited to 'net')
-rw-r--r-- | net/sipcalc/Makefile | 11 |
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" |