git: 55c157d00771 - main - devel/kore: Fix build with llvm16 and openssl3

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 18 Aug 2023 07:53:55 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=55c157d0077181e859b22382ad7803bf5da36ee9

commit 55c157d0077181e859b22382ad7803bf5da36ee9
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-18 07:17:54 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-18 07:53:31 +0000

    devel/kore: Fix build with llvm16 and openssl3
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 devel/kore/Makefile | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/devel/kore/Makefile b/devel/kore/Makefile
index 6b5cd35b7d01..b4ddae0b4fbf 100644
--- a/devel/kore/Makefile
+++ b/devel/kore/Makefile
@@ -49,16 +49,10 @@ PYTHON_BINARY_ALIAS=	python3-config=${PYTHON_CMD}-config
 TASKS_MAKE_ARGS=	TASKS=1
 TLS_MAKE_ARGS_OFF=	NOTLS=1
 
-.include <bsd.port.options.mk>
-
-.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
-CFLAGS+=	-DOPENSSL_API_COMPAT=0x10100000L
-.endif
-
 .include <bsd.port.pre.mk>
 
 .if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
-CFLAGS+=	-Wno-error=incompatible-pointer-types-discards-qualifiers
+CFLAGS+=	-Wno-error=deprecated-declarations -Wno-error=incompatible-pointer-types-discards-qualifiers
 .endif
 
 post-patch: