pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/openssl On Mac OS X Snow Leopard with ABI=64,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a6c408c5be5e
branches:  trunk
changeset: 455710:a6c408c5be5e
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Fri Jul 09 18:22:56 2021 +0000

description:
On Mac OS X Snow Leopard with ABI=64, configure was selecting a 32-bit
build (and then failing in the assembler). Override its choice on
Darwin/x86_64 by specifying KERNEL_BITS=${ABI} in CONFIGURE_ENV.

diffstat:

 security/openssl/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 9d4c697b6ce6 -r a6c408c5be5e security/openssl/Makefile
--- a/security/openssl/Makefile Fri Jul 09 16:13:50 2021 +0000
+++ b/security/openssl/Makefile Fri Jul 09 18:22:56 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.271 2021/05/24 19:53:55 wiz Exp $
+# $NetBSD: Makefile,v 1.272 2021/07/09 18:22:56 schmonz Exp $
 
 # Remember to upload-distfiles when updating OpenSSL -- otherwise it 
 # is not possible for users who have bootstrapped without OpenSSL
@@ -33,6 +33,11 @@
 CONFIGURE_ARGS+=       no-async
 .endif
 
+# Fix 64-bit build on at least Mac OS X Snow Leopard
+.if ${OPSYS} == "Darwin" && ${MACHINE_ARCH} == "x86_64"
+CONFIGURE_ENV+=                KERNEL_BITS=${ABI}
+.endif
+
 .include "options.mk"
 
 CONFIGURE_ARGS+=       ${CFLAGS} ${LDFLAGS}



Home | Main Index | Thread Index | Old Index