git: 767bd0e6d230 - main - math/blasfeo: Update 0.1.3 -> 0.1.3-59

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 10 Jun 2022 17:57:52 UTC
The branch main has been updated by yuri:

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

commit 767bd0e6d2304fa067e5cf14c88caea33e2b1fa8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-06-10 17:56:19 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-06-10 17:57:49 +0000

    math/blasfeo: Update 0.1.3 -> 0.1.3-59
---
 math/blasfeo/Makefile | 16 ++++++++--------
 math/blasfeo/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/math/blasfeo/Makefile b/math/blasfeo/Makefile
index 0b4638e07745..51cb647c1b72 100644
--- a/math/blasfeo/Makefile
+++ b/math/blasfeo/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	blasfeo
-DISTVERSION=	0.1.3
+DISTVERSION=	0.1.3-59
+DISTVERSIONSUFFIX=	-g8548ea2c
 CATEGORIES=	math
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -8,13 +9,18 @@ COMMENT=	Basic Linear Algebra Subroutines For Embedded Optimization
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		cmake
+LIB_DEPENDS=	libblas.so:math/blas
+
+USES=		cmake:testing
 USE_GITHUB=	yes
 GH_ACCOUNT=	giaf
 
+LDFLAGS+=	-L${LOCALBASE}/lib -lblas
+
 CMAKE_ARGS=	-DTARGET:STRING=GENERIC
 CMAKE_ON=	BUILD_SHARED_LIBS
 CMAKE_OFF=	BLASFEO_EXAMPLES
+CMAKE_TESTING_ON=	BLASFEO_TESTING # tests fail to compile, see https://github.com/giaf/blasfeo/issues/164
 
 OPTIONS_SINGLE=		${OPTIONS_SINGLE_${ARCH}}
 OPTIONS_SINGLE_amd64=	TARGETAMD64
@@ -33,10 +39,4 @@ X64_INTEL_SANDY_BRIDGE_CMAKE_ON=	-DTARGET:STRING=X64_INTEL_SANDY_BRIDGE
 X64_INTEL_CORE_CMAKE_ON=		-DTARGET:STRING=X64_INTEL_CORE
 X64_AMD_BULLDOZER_CMAKE_ON=		-DTARGET:STRING=X64_AMD_BULLDOZER
 
-do-test:
-	@cd ${BUILD_WRKSRC} && \
-		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBLASFEO_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \
-		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
-		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
-
 .include <bsd.port.mk>
diff --git a/math/blasfeo/distinfo b/math/blasfeo/distinfo
index 85d5a1f6343b..9c77b7c5cb4b 100644
--- a/math/blasfeo/distinfo
+++ b/math/blasfeo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1651024602
-SHA256 (giaf-blasfeo-0.1.3_GH0.tar.gz) = c33eb6467a90d6075a8db34e5ab239ecdda38c5261ae096def122fe7a0f98780
-SIZE (giaf-blasfeo-0.1.3_GH0.tar.gz) = 1609598
+TIMESTAMP = 1654882480
+SHA256 (giaf-blasfeo-0.1.3-59-g8548ea2c_GH0.tar.gz) = 8bf7d1b6f3e6618cc508d9d99a5a9812f0c9ec7c5d317395d0e5791a2a6d4149
+SIZE (giaf-blasfeo-0.1.3-59-g8548ea2c_GH0.tar.gz) = 1679378