summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-01-07 15:51:08 +0000
committerjoerg <joerg@pkgsrc.org>2008-01-07 15:51:08 +0000
commitd27c432fd6f6fa1a41d42021474fb501bb9e1862 (patch)
tree88dd8ed95b8c6823c2629baac2a4228ec4e22cf2 /security
parent1ec0ba408c0f24e4c43edcad07cdcf8b53669e19 (diff)
downloadpkgsrc-d27c432fd6f6fa1a41d42021474fb501bb9e1862.tar.gz
Fix builtin.mk logic for thread feature if no native OpenSSL exists.
Fixes PR pkg/37699 from Aleksey Cheusov.
Diffstat (limited to 'security')
-rw-r--r--security/openssl/builtin.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/openssl/builtin.mk b/security/openssl/builtin.mk
index 77fdec55d0a..1af6126c4dd 100644
--- a/security/openssl/builtin.mk
+++ b/security/openssl/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.23 2008/01/05 20:41:26 rillig Exp $
+# $NetBSD: builtin.mk,v 1.24 2008/01/07 15:51:08 joerg Exp $
BUILTIN_PKG:= openssl
@@ -136,7 +136,8 @@ USE_BUILTIN.openssl!= \
. endif
. endfor
. endif
-. if defined(USE_FEATURES.openssl)
+. if !empty(IS_BUILTIN.openssl:M[yY][eE][sS]) && \
+ defined(USE_FEATURES.openssl)
. if !empty(USE_FEATURES.openssl:Mthreads) && \
!empty(BUILTIN_OPENSSL_HAS_THREADS:M[nN][oO])
USE_BUILTIN.openssl= no