Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2023 22:01:43 GMT
From:      Adriaan de Groot <adridg@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9523c6bffa8d - main - graphics/opencv: mark build-time dependencies correctly
Message-ID:  <202304202201.33KM1hI1022540@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by adridg:

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

commit 9523c6bffa8dfc6ae1a6842f5e1720885a164b90
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2023-04-20 20:23:58 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2023-04-20 22:01:41 +0000

    graphics/opencv: mark build-time dependencies correctly
    
    opencv does not need to link (run-time, LIB_DEPENDS) with
    lapacke, it is sufficient to build-depend.
    
    Obtained from:  thierry@
    PR:             267809
---
 graphics/opencv/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile
index faadae5fc63e..721dfb3b2b8f 100644
--- a/graphics/opencv/Makefile
+++ b/graphics/opencv/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	opencv
 DISTVERSION=	4.6.0
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	graphics
 
 MAINTAINER=	desktop@FreeBSD.org
@@ -186,11 +186,13 @@ XINE_LIB_DEPENDS=	libxine.so:multimedia/libxine
 # BLAS group options (ATLAS OPENBLAS NOBLAS)
 ATLAS_DESC=		ATLAS blas implementation with lapacke
 ATLAS_USES=		blaslapack:atlas
-ATLAS_LIB_DEPENDS=	liblapacke.so:math/lapacke
+ATLAS_BUILD_DEPENDS=	cblas>0:math/cblas \
+			lapacke>0:math/lapacke
 
 OPENBLAS_DESC=		OpenBLAS blas implementation with lapacke
 OPENBLAS_USES=		blaslapack:openblas
-OPENBLAS_LIB_DEPENDS=	liblapacke.so:math/lapacke
+OPENBLAS_BUILD_DEPENDS=	cblas>0:math/cblas \
+			lapacke>0:math/lapacke
 
 NOBLAS_DESC=		Disable support for lapack/blas
 NOBLAS_CMAKE_BOOL_OFF=	WITH_LAPACK



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304202201.33KM1hI1022540>