summaryrefslogtreecommitdiff
path: root/security/stunnel
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-01-13 18:39:44 +0000
committerjlam <jlam@pkgsrc.org>2001-01-13 18:39:44 +0000
commit0d35bbc9aaaccaa306a00ac0895b42d7d9a8d7f1 (patch)
tree262c44c4a989b3df1f1e2a2e1ce8d3ecb38eb08d /security/stunnel
parenta2ca4cdaa9ddb9083696f56707964038dec740c8 (diff)
downloadpkgsrc-0d35bbc9aaaccaa306a00ac0895b42d7d9a8d7f1.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