git: e87bbc49e209 - main - devel/libsigrok: unbreak build with py310+ (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Thu, 18 Aug 2022 00:23:11 UTC
The branch main has been updated by fluffy:

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

commit e87bbc49e209147793ceb0e6ba09d436fdc88113
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-08-18 00:19:27 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-08-18 00:23:04 +0000

    devel/libsigrok: unbreak build with py310+ (+)
    
    libsigrokcxx library require python <= 3.9 to build.
    
    While here, add missed dependencies
    
    Approved by:    portmgr blanket (fix build)
    Reporteb by:    poudriere failure
---
 devel/libsigrok/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/devel/libsigrok/Makefile b/devel/libsigrok/Makefile
index 2973b227a25f..0872193b12d5 100644
--- a/devel/libsigrok/Makefile
+++ b/devel/libsigrok/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libsigrok
 PORTVERSION=	0.5.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel
 MASTER_SITES=	http://sigrok.org/download/source/libsigrok/
 
@@ -11,12 +11,15 @@ LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	doxygen:devel/doxygen
-LIB_DEPENDS=	libftdi1.so:devel/libftdi1 \
+LIB_DEPENDS=	libhidapi.so:comms/hidapi \
+		libcheck.so:devel/check \
+		libftdi1.so:devel/libftdi1 \
 		libserialport.so:devel/libserialport \
 		libvisa.so:devel/librevisa \
 		libzip.so:archivers/libzip
 
-USES=		compiler:c11 gnome pathfix libtool pkgconfig
+USES=		compiler:c11 gnome pathfix libtool pkgconfig \
+		python:-3.9,build shared-mime-info
 
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip