summaryrefslogtreecommitdiff
path: root/security/openssl
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2021-01-25 20:26:43 +0000
committerschmonz <schmonz@pkgsrc.org>2021-01-25 20:26:43 +0000
commitb7844e3d1729a4315cec9b838b2108bd81651a6e (patch)
tree388257519fdbf3d08890a985bffb8d650eef06d3 /security/openssl
parent17b0a9c0c5d921ed209c31b12cbfce88a5f525e9 (diff)
downloadpkgsrc-b7844e3d1729a4315cec9b838b2108bd81651a6e.tar.gz
Fix build on OpenBSD by defining __STDC_NO_ATOMICS__.
Diffstat (limited to 'security/openssl')
-rw-r--r--security/openssl/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index de2fe476274..df81dde6370 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -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-i386= solaris-x86-gcc
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}