commit: 4adb495757c67c5e9ee168264dfe38e66fedf6fb
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 11 18:15:56 2021 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Aug 11 18:15:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4adb4957
dev-libs/openssl: replace "has test ${FEATURES}" with "use test"
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
dev-libs/openssl/openssl-1.1.1k-r1.ebuild | 2 +-
dev-libs/openssl/openssl-3.0.0_beta1-r1.ebuild | 2 +-
dev-libs/openssl/openssl-3.0.0_beta2.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-libs/openssl/openssl-1.1.1k-r1.ebuild
b/dev-libs/openssl/openssl-1.1.1k-r1.ebuild
index d212bef1be7..5b98e5cde55 100644
--- a/dev-libs/openssl/openssl-1.1.1k-r1.ebuild
+++ b/dev-libs/openssl/openssl-1.1.1k-r1.ebuild
@@ -63,7 +63,7 @@ pkg_setup() {
[[ ${MERGE_TYPE} == binary ]] && return
# must check in pkg_setup; sysctl don't work with userpriv!
- if has test ${FEATURES} && use sctp; then
+ if use test && use sctp; then
# test_ssl_new will fail with "Ensure SCTP AUTH chunks are
enabled in kernel"
# if sctp.auth_enable is not enabled.
local sctp_auth_status=$(sysctl -n net.sctp.auth_enable
2>/dev/null)
diff --git a/dev-libs/openssl/openssl-3.0.0_beta1-r1.ebuild
b/dev-libs/openssl/openssl-3.0.0_beta1-r1.ebuild
index f07fa0d1b07..d434698778c 100644
--- a/dev-libs/openssl/openssl-3.0.0_beta1-r1.ebuild
+++ b/dev-libs/openssl/openssl-3.0.0_beta1-r1.ebuild
@@ -68,7 +68,7 @@ pkg_setup() {
[[ ${MERGE_TYPE} == binary ]] && return
# must check in pkg_setup; sysctl don't work with userpriv!
- if has test ${FEATURES} && use sctp ; then
+ if use test && use sctp ; then
# test_ssl_new will fail with "Ensure SCTP AUTH chunks are
enabled in kernel"
# if sctp.auth_enable is not enabled.
local sctp_auth_status=$(sysctl -n net.sctp.auth_enable
2>/dev/null)
diff --git a/dev-libs/openssl/openssl-3.0.0_beta2.ebuild
b/dev-libs/openssl/openssl-3.0.0_beta2.ebuild
index f07fa0d1b07..d434698778c 100644
--- a/dev-libs/openssl/openssl-3.0.0_beta2.ebuild
+++ b/dev-libs/openssl/openssl-3.0.0_beta2.ebuild
@@ -68,7 +68,7 @@ pkg_setup() {
[[ ${MERGE_TYPE} == binary ]] && return
# must check in pkg_setup; sysctl don't work with userpriv!
- if has test ${FEATURES} && use sctp ; then
+ if use test && use sctp ; then
# test_ssl_new will fail with "Ensure SCTP AUTH chunks are
enabled in kernel"
# if sctp.auth_enable is not enabled.
local sctp_auth_status=$(sysctl -n net.sctp.auth_enable
2>/dev/null)