diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-25 20:06:15 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-25 20:06:15 +0000 |
commit | 9080934d3bd7cc112b9f481d5522e1a89b6002cc (patch) | |
tree | b2dc00d06806ae244c4612b23ddb2ae871f55999 /security/openssl | |
parent | 1cf6c4873fae4fd41b388dcbdfaef06f8953b7e1 (diff) | |
download | pkgsrc-9080934d3bd7cc112b9f481d5522e1a89b6002cc.tar.gz |
Fix detection of openssl configuration directory on NetBSD so it's
/etc/openssl only if USE_BUILTIN.openssl is "yes".
Diffstat (limited to 'security/openssl')
-rw-r--r-- | security/openssl/builtin.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/security/openssl/builtin.mk b/security/openssl/builtin.mk index dcb609c78fe..03e53ad5305 100644 --- a/security/openssl/builtin.mk +++ b/security/openssl/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.25 2008/01/17 06:42:47 tnn Exp $ +# $NetBSD: builtin.mk,v 1.26 2008/04/25 20:06:15 jlam Exp $ BUILTIN_PKG:= openssl @@ -230,10 +230,12 @@ buildlink-openssl-des-h: . if defined(PKG_SYSCONFDIR.openssl) SSLDIR= ${PKG_SYSCONFDIR.openssl} -. elif ${OPSYS} == "NetBSD" -SSLDIR= /etc/openssl . elif !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) +. if ${OPSYS} == "NetBSD" +SSLDIR= /etc/openssl +. else SSLDIR= /etc/ssl # most likely place +. endif . else SSLDIR= ${PKG_SYSCONFBASEDIR}/openssl . endif |