pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/pkgtools/pkg_install



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Dec 24 11:37:38 UTC 2021

Modified Files:
        pkgsrc/pkgtools/pkg_install: options.mk

Log Message:
pkg_install: only enable IPv6 on operating systems that support it

needed for UnixWare, reported by Boyd Lynn Gerber


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/pkgtools/pkg_install/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/pkg_install/options.mk
diff -u pkgsrc/pkgtools/pkg_install/options.mk:1.5 pkgsrc/pkgtools/pkg_install/options.mk:1.6
--- pkgsrc/pkgtools/pkg_install/options.mk:1.5  Thu Jul 27 18:54:44 2017
+++ pkgsrc/pkgtools/pkg_install/options.mk      Fri Dec 24 11:37:38 2021
@@ -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=        inet6
 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