pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install pkg_install: only enable IPv6 on ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/64c9afd5fd87
branches: trunk
changeset: 771725:64c9afd5fd87
user: nia <nia%pkgsrc.org@localhost>
date: Fri Dec 24 11:37:38 2021 +0000
description:
pkg_install: only enable IPv6 on operating systems that support it
needed for UnixWare, reported by Boyd Lynn Gerber
diffstat:
pkgtools/pkg_install/options.mk | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 806eb3edfd64 -r 64c9afd5fd87 pkgtools/pkg_install/options.mk
--- a/pkgtools/pkg_install/options.mk Fri Dec 24 05:45:45 2021 +0000
+++ b/pkgtools/pkg_install/options.mk Fri Dec 24 11:37:38 2021 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: options.mk,v 1.5 2017/07/27 18:54:44 tnn Exp $
+# $NetBSD: options.mk,v 1.6 2021/12/24 11:37:38 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libfetch
PKG_SUPPORTED_OPTIONS= inet6 openssl
-PKG_SUGGESTED_OPTIONS= inet6
.include "../../security/openssl/builtin.mk"
@@ -10,6 +9,12 @@
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)
Home |
Main Index |
Thread Index |
Old Index