diff options
author | tv <tv> | 2005-11-02 15:31:56 +0000 |
---|---|---|
committer | tv <tv> | 2005-11-02 15:31:56 +0000 |
commit | 5897b97e87bc6d74128c4172e8e103761d1917a3 (patch) | |
tree | 462ce05afa84a78ab58f9613329b5e39de53638f | |
parent | 7cd9447796e3c0202d0fb1fd0d60ba2cf34deb0a (diff) | |
download | pkgsrc-5897b97e87bc6d74128c4172e8e103761d1917a3.tar.gz |
Use the options framework to force the requirement that IPv6 be available.
-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" |