commit:     4562d26d211d43476ae99bd5ccf8509fdbce7f70
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 11 18:19:12 2021 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Aug 11 18:19:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4562d26d

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 5b98e5cde55..d07d4096d08 100644
--- a/dev-libs/openssl/openssl-1.1.1k-r1.ebuild
+++ b/dev-libs/openssl/openssl-1.1.1k-r1.ebuild
@@ -117,7 +117,7 @@ src_prepare() {
 
        eapply_user #332661
 
-       if has test ${FEATURES} && use sctp && has network-sandbox ${FEATURES}; 
then
+       if use test && use sctp && has network-sandbox ${FEATURES}; then
                ebegin "Disabling test '80-test_ssl_new.t' which is known to 
fail with FEATURES=network-sandbox"
                rm test/recipes/80-test_ssl_new.t || die
                eend $?

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 d434698778c..5005c8fa660 100644
--- a/dev-libs/openssl/openssl-3.0.0_beta1-r1.ebuild
+++ b/dev-libs/openssl/openssl-3.0.0_beta1-r1.ebuild
@@ -98,7 +98,7 @@ src_prepare() {
 
        eapply_user
 
-       if has test ${FEATURES} && use sctp && has network-sandbox ${FEATURES} 
; then
+       if use test && use sctp && has network-sandbox ${FEATURES} ; then
                einfo "Disabling test '80-test_ssl_new.t' which is known to 
fail with FEATURES=network-sandbox ..."
                rm test/recipes/80-test_ssl_new.t || die
        fi

diff --git a/dev-libs/openssl/openssl-3.0.0_beta2.ebuild 
b/dev-libs/openssl/openssl-3.0.0_beta2.ebuild
index d434698778c..5005c8fa660 100644
--- a/dev-libs/openssl/openssl-3.0.0_beta2.ebuild
+++ b/dev-libs/openssl/openssl-3.0.0_beta2.ebuild
@@ -98,7 +98,7 @@ src_prepare() {
 
        eapply_user
 
-       if has test ${FEATURES} && use sctp && has network-sandbox ${FEATURES} 
; then
+       if use test && use sctp && has network-sandbox ${FEATURES} ; then
                einfo "Disabling test '80-test_ssl_new.t' which is known to 
fail with FEATURES=network-sandbox ..."
                rm test/recipes/80-test_ssl_new.t || die
        fi

Reply via email to