diff options
author | nia <nia@pkgsrc.org> | 2021-12-26 10:24:22 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-12-26 10:24:22 +0000 |
commit | e8ad4789800a1f1ab4fa2221928ca1f69e47f0ae (patch) | |
tree | 7c9f396141046898313d2764e771cbe0cb266d22 /net/libfetch | |
parent | 1bc3001c598a6c93fa9a015f2bc411a8f5e5025a (diff) | |
download | pkgsrc-e8ad4789800a1f1ab4fa2221928ca1f69e47f0ae.tar.gz |
libfetch: Only enable IPv6 on supported systems. Needed on UnixWare.
Adapted from Boyd Lynn Gerber.
Diffstat (limited to 'net/libfetch')
-rw-r--r-- | net/libfetch/options.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/net/libfetch/options.mk b/net/libfetch/options.mk index a54ce104185..4b030f028a3 100644 --- a/net/libfetch/options.mk +++ b/net/libfetch/options.mk @@ -1,8 +1,7 @@ -# $NetBSD: options.mk,v 1.4 2014/06/09 23:42:57 obache Exp $ +# $NetBSD: options.mk,v 1.5 2021/12/26 10:24:22 nia Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.libfetch PKG_SUPPORTED_OPTIONS= inet6 openssl -PKG_SUGGESTED_OPTIONS= inet6 CHECK_BUILTIN.openssl:= yes .include "../../security/openssl/builtin.mk" @@ -12,6 +11,12 @@ CHECK_BUILTIN.openssl:= no PKG_SUGGESTED_OPTIONS+= openssl .endif +.include "../../mk/bsd.prefs.mk" + +.if ${IPV6_READY:tl} == "yes" +PKG_SUGGESTED_OPTIONS+= inet6 +.endif + .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Minet6) |