From 905b95cd2c5be5bbcc99be6590e5206498551fc3 Mon Sep 17 00:00:00 2001
From: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
Date: Sat, 13 Feb 2021 22:47:55 -0500
Subject: [PATCH] contrib: Fix a bug in the libressl rules.mak file.

This fixes the spurious "sh: call: command not found" error that would
be printed on any 'make' invocation.  The source of the error was
pinpointed using strace.

Change-Id: Iea866e23a5b98bba0d108cf5f7b1723052fe81a7
---
 contrib/src/libressl/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/libressl/rules.mak b/contrib/src/libressl/rules.mak
index 3f4853d587..2c17840b48 100644
--- a/contrib/src/libressl/rules.mak
+++ b/contrib/src/libressl/rules.mak
@@ -25,7 +25,7 @@ LIBRESSL_URL := https://github.com/libressl-portable/portable/archive/$(LIBRESSL
 OPENBSD_URL := https://github.com/libressl-portable/openbsd/archive/$(OPENBSD_VERSION).tar.gz
 
 # Check if openssl or libressl is already present on the system
-ifeq ($(call need_pkg,"openssl >= 1.0.0" || call need_pkg,"libressl >= 1.0.0"),)
+ifeq ($(or $(call need_pkg,"openssl >= 1.0.0"),$(call need_pkg,"libressl >= 1.0.0")),)
 PKGS_FOUND += libressl
 endif
 
-- 
GitLab