diff options
author | jlam <jlam> | 2002-08-09 17:12:51 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-08-09 17:12:51 +0000 |
commit | 1dce5c7109b1fc733dd610a747f95a3fec3d6764 (patch) | |
tree | 504508eaed1b2af9263e4d16f9011f6db3c4849f /security | |
parent | e8ef19fc734da312b308a4b2ee1697e2df32ea6d (diff) | |
download | pkgsrc-1dce5c7109b1fc733dd610a747f95a3fec3d6764.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 |