summaryrefslogtreecommitdiff
path: root/security/stunnel
diff options
context:
space:
mode:
authorjlam <jlam>2001-01-13 18:39:44 +0000
committerjlam <jlam>2001-01-13 18:39:44 +0000
commitcb1c912536c9872e8cc7585524885eb136ad68dd (patch)
tree262c44c4a989b3df1f1e2a2e1ce8d3ecb38eb08d /security/stunnel
parent63b15a5d62887251d1ca063a047a4d7e21c29f23 (diff)
downloadpkgsrc-cb1c912536c9872e8cc7585524885eb136ad68dd.tar.gz
Use SSLCERTS for location of OpenSSL certificates directory.
Diffstat (limited to 'security/stunnel')
-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