openssl: Fix building on Mac OS X Tiger.
This commit is contained in:
parent
def140c7e7
commit
6058abe7e6
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.293 2023/10/27 18:30:12 jperkin Exp $
|
||||
# $NetBSD: Makefile,v 1.294 2023/11/05 19:37:19 nia Exp $
|
||||
|
||||
# Remember to upload-distfiles when updating OpenSSL -- otherwise it
|
||||
# is not possible for users who have bootstrapped without OpenSSL
|
||||
|
@ -35,6 +35,12 @@ MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
|
|||
CONFIGURE_ARGS+= no-async
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} < 101200
|
||||
# While it does check for this, it does so using a header that is only
|
||||
# available in OS X versions starting with Leopard.
|
||||
CFLAGS+= -DOPENSSL_NO_APPLE_CRYPTO_RANDOM=1
|
||||
.endif
|
||||
|
||||
PLIST_VARS+= devcrypto afalg
|
||||
# the AF_ALG engine is supported only on Linux, where it
|
||||
# is used instead of the BSD /dev/crypto engine.
|
||||
|
|
Loading…
Reference in a new issue