pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/openssl Fix build on OpenBSD by defining __ST...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3cbbd8dae4b5
branches:  trunk
changeset: 445591:3cbbd8dae4b5
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Jan 25 20:26:43 2021 +0000

description:
Fix build on OpenBSD by defining __STDC_NO_ATOMICS__.

diffstat:

 security/openssl/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 9c4b2d2efc96 -r 3cbbd8dae4b5 security/openssl/Makefile
--- a/security/openssl/Makefile Mon Jan 25 17:07:11 2021 +0000
+++ b/security/openssl/Makefile Mon Jan 25 20:26:43 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.266 2020/12/08 18:54:17 wiz Exp $
+# $NetBSD: Makefile,v 1.267 2021/01/25 20:26:43 schmonz Exp $
 
 DISTNAME=      openssl-1.1.1i
 CATEGORIES=    security
@@ -40,7 +40,8 @@
 OPENSSL_HOST.SunOS-x86_64=     solaris64-x86_64-gcc
 OPENSSL_HOST.Darwin-aarch64=   darwin64-arm64-cc
 
-LDFLAGS.SunOS+=        -lrt
+LDFLAGS.SunOS+=                -lrt
+CPPFLAGS.OpenBSD+=     -D__STDC_NO_ATOMICS__
 
 .if defined(OPENSSL_HOST.${OPSYS}-${MACHINE_ARCH})
 CONFIG_SHELL=          ${PERL5}



Home | Main Index | Thread Index | Old Index