From 10cdb60607df66e1c565f035ae12ebc5ae2a26c0 Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Sun, 23 Jul 2023 22:56:20 +0300 Subject: [PATCH] Fix "number of CPU cores is detected on FreeBSD" test failing in MacOS They've added OpenSSL to stock CI image --- plugins/python-build/bin/python-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index 20b17342..7d0b2a16 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -1420,7 +1420,7 @@ use_freebsd_pkg() { # check if FreeBSD if [ "FreeBSD" = "$(uname -s)" ]; then # use openssl if installed from Ports Collection - if [ -f /usr/local/include/openssl/ssl.h ]; then + if pkg info -e openssl; then package_option python configure --with-openssl="/usr/local" fi