diff options
author | jlam <jlam@pkgsrc.org> | 2002-08-09 17:12:51 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-08-09 17:12:51 +0000 |
commit | 577caefd40583199470fbcced4992006c9e7c72f (patch) | |
tree | 504508eaed1b2af9263e4d16f9011f6db3c4849f /security | |
parent | 8ad7767d39a5039fc2d59222edaba526015b3f5d (diff) | |
download | pkgsrc-577caefd40583199470fbcced4992006c9e7c72f.tar.gz |
Correctly set the value of SSLCERTS depending on the environment and the
platform.
Diffstat (limited to 'security')
-rw-r--r-- | security/openssl/buildlink.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/security/openssl/buildlink.mk b/security/openssl/buildlink.mk index 7a9343d65f3..760419461da 100644 --- a/security/openssl/buildlink.mk +++ b/security/openssl/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.15 2002/08/04 23:38:43 fredb Exp $ +# $NetBSD: buildlink.mk,v 1.16 2002/08/09 17:12:51 jlam Exp $ # # This Makefile fragment is included by packages that use OpenSSL. # @@ -114,7 +114,13 @@ SSLBASE= /usr . endif .endif +.if defined(PKG_SYSCONFDIR.openssl) +SSLCERTS= ${PKG_SYSCONFDIR.openssl}/certs +.elif ${OPSYS} == "NetBSD" SSLCERTS= /etc/openssl/certs +.else +SSLCERTS= ${PKG_SYSCONFBASE}/openssl/certs +.endif BUILD_DEFS+= SSLBASE SSLCERTS BUILDLINK_FILES.openssl= bin/openssl |