summaryrefslogtreecommitdiff
path: root/security/openssl/buildlink2.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-21 10:03:41 +0000
committerjlam <jlam@pkgsrc.org>2004-01-21 10:03:41 +0000
commit4f5f04ed0e1cd739403bb6e498eb019cb433513f (patch)
treee6559706c423b51fe44744a2ec94ea19fcbe60ab /security/openssl/buildlink2.mk
parentafb0d31e30bf4ae721465e990f53c3806829ff8b (diff)
downloadpkgsrc-4f5f04ed0e1cd739403bb6e498eb019cb433513f.tar.gz
Only point SSLCERTS into ${PKG_SYSCONFDIR} if we're not using the built-in
OpenSSL software. Otherwise, set it to /etc/ssl/certs, which is where a lot of Linux distros store certs. The behaviour on NetBSD systems is unchanged -- always set to /etc/openssl/certs. Fixes PR 24161.
Diffstat (limited to 'security/openssl/buildlink2.mk')
-rw-r--r--security/openssl/buildlink2.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/openssl/buildlink2.mk b/security/openssl/buildlink2.mk
index ee7b802094b..911f9a04771 100644
--- a/security/openssl/buildlink2.mk
+++ b/security/openssl/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.14 2004/01/07 02:21:16 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.15 2004/01/21 10:03:41 jlam Exp $
.if !defined(OPENSSL_BUILDLINK2_MK)
OPENSSL_BUILDLINK2_MK= # defined
@@ -144,6 +144,8 @@ BUILD_DEFS+= SSLBASE
SSLCERTS= ${PKG_SYSCONFDIR.openssl}/certs
.elif ${OPSYS} == "NetBSD"
SSLCERTS= /etc/openssl/certs
+.elif ${_NEED_OPENSSL} == "NO"
+SSLCERTS= /etc/ssl/certs
.else
SSLCERTS= ${PKG_SYSCONFBASEDIR}/openssl/certs
.endif