pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/openssl



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Nov  5 19:37:20 UTC 2023

Modified Files:
        pkgsrc/security/openssl: Makefile

Log Message:
openssl: Fix building on Mac OS X Tiger.


To generate a diff of this commit:
cvs rdiff -u -r1.293 -r1.294 pkgsrc/security/openssl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/openssl/Makefile
diff -u pkgsrc/security/openssl/Makefile:1.293 pkgsrc/security/openssl/Makefile:1.294
--- pkgsrc/security/openssl/Makefile:1.293      Fri Oct 27 18:30:12 2023
+++ pkgsrc/security/openssl/Makefile    Sun Nov  5 19:37:19 2023
@@ -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}/${PKGMAND
 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.



Home | Main Index | Thread Index | Old Index