summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjlam <jlam>2001-01-13 18:39:44 +0000
committerjlam <jlam>2001-01-13 18:39:44 +0000
commita9806afea532f421f8eed28657c9ad1afcae4002 (patch)
tree262c44c4a989b3df1f1e2a2e1ce8d3ecb38eb08d /security
parent1e442d5c78ecec83720f8cc7283488eadd76c096 (diff)
downloadpkgsrc-a9806afea532f421f8eed28657c9ad1afcae4002.tar.gz
Use SSLCERTS for location of OpenSSL certificates directory.
Diffstat (limited to 'security')
-rw-r--r--security/stunnel/Makefile18
1 files changed, 2 insertions, 16 deletions
diff --git a/security/stunnel/Makefile b/security/stunnel/Makefile
index 71b11307b6c..9f259d11889 100644
--- a/security/stunnel/Makefile
+++ b/security/stunnel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2000/12/19 07:03:21 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2001/01/13 18:41:33 jlam Exp $
#
DISTNAME= stunnel-3.9
@@ -14,23 +14,9 @@ DEPENDS+= pth>=1.3.5:../../devel/pth
USE_SSL= # defined
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
-CONFIGURE_ARGS+= --with-cert-dir="${SSL_CERT_DIR}"
+CONFIGURE_ARGS+= --with-cert-dir="${SSLCERTS}"
pre-configure:
cd ${WRKSRC} && autoreconf
.include "../../mk/bsd.pkg.mk"
-
-# The in-tree OpenSSL uses /etc/openssl/certs as the default location for
-# certificates, while the pkgsrc OpenSSL uses ${PREFIX}/certs. Define
-# SSL_CERT_DIR appropriately using a shell expression, and make sure that
-# it's only executed once to optimize the build.
-#
-.if !defined(SSL_CERT_DIR)
-SSL_CERT_DIR!= if ${TEST} -d /etc/openssl/certs; then \
- ${ECHO} /etc/openssl/certs; \
- else \
- ${ECHO} ${PREFIX}/certs; \
- fi
-MAKEFLAGS+= SSL_CERT_DIR="${SSL_CERT_DIR}"
-.endif