summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-03-26 06:16:16 +0000
committerjlam <jlam@pkgsrc.org>2004-03-26 06:16:16 +0000
commitc67f2125ec0f37ea0553fb1a57e3924124e6f633 (patch)
tree0370c6de203b95c0021fefd60ab8e5cf8e0e06b2
parent283b4ef3077007f1b273fab2ab37bc370b7c9ae7 (diff)
downloadpkgsrc-c67f2125ec0f37ea0553fb1a57e3924124e6f633.tar.gz
We can't use ${PKGBASE} on the left-hand side of an assignment since it's
not defined yet until bsd.pkg.mk. Explicitly use "openssl" instead. This correctly forces NetBSD installations of openssl to use /etc/openssl as the configuration file directory as originally intended.
-rw-r--r--security/openssl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 38eb6851dcc..4a89beb2669 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.90 2004/03/26 05:41:10 jlam Exp $
+# $NetBSD: Makefile,v 1.91 2004/03/26 06:16:16 jlam Exp $
DISTNAME= openssl-0.9.6m
SVR4_PKGNAME= ossl
@@ -69,7 +69,7 @@ CONF_FILES= ${PREFIX}/share/examples/openssl/openssl.cnf \
OWN_DIRS= ${PKG_SYSCONFDIR}/certs ${PKG_SYSCONFDIR}/private
.if ${OPSYS} == "NetBSD"
-PKG_SYSCONFDIR.${PKGBASE}?= /etc/openssl
+PKG_SYSCONFDIR.openssl?= /etc/openssl
. if !exists(/usr/libexec/ld.elf_so) && !exists(/usr/libexec/ld.so)
PKG_FAIL_REASON= ${PKGNAME} requires shared object support
. endif