summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2001-01-13 18:35:09 +0000
committerjlam <jlam>2001-01-13 18:35:09 +0000
commit63b15a5d62887251d1ca063a047a4d7e21c29f23 (patch)
tree052fe767fd47b91df0888d07a6fe588e313c9924 /mk
parent9069f55ffd51374d6d11a4e4cad597a3bf9991f5 (diff)
downloadpkgsrc-63b15a5d62887251d1ca063a047a4d7e21c29f23.tar.gz
Add SSLCERTS make variable, set to either /etc/openssl/certs or
${SSLBASE}/certs depending on whether we use in-tree OpenSSL or pkgsrc/security/openssl.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index bfe224566ab..fffafca0263 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.641 2001/01/13 00:18:51 tron Exp $
+# $NetBSD: bsd.pkg.mk,v 1.642 2001/01/13 18:35:09 jlam Exp $
#
# This file is in the public domain.
#
@@ -235,9 +235,11 @@ MAKE_ENV+= LIBTOOL="${LIBTOOL} ${LIBTOOL_FLAGS}"
.if defined(USE_SSL)
.if exists(/usr/include/openssl/ssl.h)
SSLBASE= /usr
+SSLCERTS= /etc/openssl/certs
.else
DEPENDS+= openssl>=0.9.5a:../../security/openssl
SSLBASE= ${LOCALBASE}
+SSLCERTS= ${SSLBASE}/certs
.endif
BUILD_DEFS+= SSLBASE
.endif