diff options
author | itojun <itojun> | 2002-03-23 19:21:47 +0000 |
---|---|---|
committer | itojun <itojun> | 2002-03-23 19:21:47 +0000 |
commit | fa311bae402c4d762d8beef8eaec92a04ae30310 (patch) | |
tree | 12259c9ba3cf8efe0782d9c9405c0aa449b26604 /security | |
parent | 2e3c1b5ef4517736f2c72c974d117c97ea451c30 (diff) | |
download | pkgsrc-fa311bae402c4d762d8beef8eaec92a04ae30310.tar.gz |
darwin has opensslv.h in /usr/local/include/openssl
Diffstat (limited to 'security')
-rw-r--r-- | security/openssl/buildlink.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/security/openssl/buildlink.mk b/security/openssl/buildlink.mk index 23e709509cc..f034c39d287 100644 --- a/security/openssl/buildlink.mk +++ b/security/openssl/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.10 2001/10/17 17:56:57 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.11 2002/03/23 19:21:47 itojun Exp $ # # This Makefile fragment is included by packages that use OpenSSL. # @@ -38,7 +38,11 @@ BUILDLINK_DEPENDS.openssl= openssl>=0.9.6 .endif _NEED_OPENSSL= YES +.if ${OPSYS} == "Darwin" +_OPENSSLV_H= /usr/local/include/openssl/opensslv.h +.else _OPENSSLV_H= /usr/include/openssl/opensslv.h +.endif .if exists(${_OPENSSLV_H}) _OPENSSL_VERSION!= ${AWK} '/.*OPENSSL_VERSION_NUMBER.*/ { print $$3 }' \ ${_OPENSSLV_H} @@ -77,8 +81,13 @@ BUILDLINK_PREFIX.openssl_DEFAULT= ${LOCALBASE} SSLBASE= ${BUILDLINK_PREFIX.openssl} SSLCERTS= ${SSLBASE}/certs .else +.if ${OPSYS} == "Darwin" +BUILDLINK_PREFIX.openssl= /usr/local +SSLBASE= /usr/local +.else BUILDLINK_PREFIX.openssl= /usr SSLBASE= /usr +.endif SSLCERTS= /etc/openssl/certs .endif BUILD_DEFS+= SSLBASE SSLCERTS |