git: e3eb58a6ced1 - main - math/kfr: Update 4.2.1 -> 4.3.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 16 Oct 2022 19:37:37 UTC
The branch main has been updated by yuri:

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

commit e3eb58a6ced1c1325e306438ab9a746fa513c3c1
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-10-16 17:28:14 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-16 19:37:32 +0000

    math/kfr: Update 4.2.1 -> 4.3.0
    
    Reported by:    portscout
---
 math/kfr/Makefile | 10 +++++-----
 math/kfr/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/math/kfr/Makefile b/math/kfr/Makefile
index b8b48a2a8d43..dcac4543f6b1 100644
--- a/math/kfr/Makefile
+++ b/math/kfr/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	kfr
-DISTVERSION=	4.2.1
+DISTVERSION=	4.3.0
 CATEGORIES=	math
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -12,20 +12,20 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 ONLY_FOR_ARCHS=		aarch64 amd64 armv7 i386
 ONLY_FOR_ARCHS_REASON=	only x86, x86_64, ARM (ARMv7+ hf) and AArch64 (aka ARM64) are supported, see https://github.com/kfrlib/kfr/issues/158#issuecomment-1204723324
 
-USES=		cmake compiler:c++17-lang
+USES=		cmake:testing compiler:c++17-lang
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	kfrlib
 
 CMAKE_ON=	BUILD_SHARED_LIBS
+CMAKE_TESTING_ON=	ENABLE_TESTS
+CMAKE_TESTING_TARGET=	${ALL_TARGET}
 
 #CXXFLAGS_armv6=	-march=native # to fix: ARM builds require NEON support. Add -march=native for native build or skip the check with CMT_FORCE_GENERIC_CPU=1
 CMAKE_ARGS_armv6=	-DCMT_FORCE_GENERIC_CPU=1 # to fix: ARM builds require NEON support. Add -march=native for native build or skip the check with CMT_FORCE_GENERIC_CPU=1
 
-do-test: # some tests fail: https://github.com/kfrlib/kfr/issues/132
+post-test: # see https://github.com/kfrlib/kfr/issues/164
 	@cd ${BUILD_WRKSRC} && \
-		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_SHARED_LIBS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
-		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
 		${BUILD_WRKSRC}/bin/all_tests
 
 .include <bsd.port.mk>
diff --git a/math/kfr/distinfo b/math/kfr/distinfo
index f625681c1e46..cca0e174cfb5 100644
--- a/math/kfr/distinfo
+++ b/math/kfr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1623302093
-SHA256 (kfrlib-kfr-4.2.1_GH0.tar.gz) = b576fffcfe147b9d2d2408738010c4bf3dbcd333870b048a9506c4bde61e2284
-SIZE (kfrlib-kfr-4.2.1_GH0.tar.gz) = 10849294
+TIMESTAMP = 1665940011
+SHA256 (kfrlib-kfr-4.3.0_GH0.tar.gz) = 80206067e50cde2e94965eda013c7f6fe4dd4490cb6b14803cdbbd91fe9f46fb
+SIZE (kfrlib-kfr-4.3.0_GH0.tar.gz) = 10852418