Skip to content

Commit

Permalink
www/nginx: drop definition of TLS1_3_VERSION and SSL_OP_NO_TLSv1_3 from
Browse files Browse the repository at this point in the history
CFLAGS. Since LibreSSL 3.4.1 this gross hack is no longer needed.
  • Loading branch information
botovq committed Nov 18, 2021
1 parent 8098458 commit 64d5065
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions www/nginx/Makefile
@@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.159 2021/11/16 19:14:51 robert Exp $
# $OpenBSD: Makefile,v 1.160 2021/11/18 20:20:10 tb Exp $

BROKEN-hppa= src/core/ngx_rwlock.c:116:2: error: \#error ngx_atomic_cmp_set() is not defined!

Expand All @@ -21,6 +21,8 @@ VERSION= 1.20.2
DISTNAME= nginx-${VERSION}
CATEGORIES= www

REVISION-main= 0

VERSION-rtmp= 1.2.1

PKGNAME-main= ${DISTNAME}
Expand Down Expand Up @@ -121,9 +123,6 @@ SUBST_VARS= NGINX_DIR
PREFIX$i= ${NGINX_DIR}/modules
.endfor

CFLAGS+= -DTLS1_3_VERSION=0x0304
CFLAGS+= -DSSL_OP_NO_TLSv1_3=0x20000000L

CFLAGS+= -Wall -Wpointer-arith \
-I "${LOCALBASE}/include/libxml2" \
-I "${LOCALBASE}/include"
Expand Down

0 comments on commit 64d5065

Please sign in to comment.