git: a570a675782f - main - devel/elf-dissector: Switch to devel/capstone

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

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

commit a570a675782f24e00b0f727a641d94a001dc6fcd
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-25 09:39:48 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-25 21:54:51 +0000

    devel/elf-dissector: Switch to devel/capstone
    
    - Add missing DEPENDS reported by poudriere testport
    - Pet port{clippy|fmt}
    
    Approved by:    portmgr (blanket)
---
 devel/elf-dissector/Makefile | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/devel/elf-dissector/Makefile b/devel/elf-dissector/Makefile
index b763c6c6a989..780f76f64305 100644
--- a/devel/elf-dissector/Makefile
+++ b/devel/elf-dissector/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	elf-dissector
 DISTVERSION=	0.0.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel kde
 
 MAINTAINER=	kde@FreeBSD.org
@@ -10,19 +10,15 @@ WWW=		https://invent.kde.org/sdk/elf-dissector
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libcapstone.so:devel/capstone4
+BUILD_DEPENDS=	binutils>=2.33.1:devel/binutils \
+		gnulibiberty>=2.33.1:devel/gnulibiberty
+LIB_DEPENDS=	libcapstone.so:devel/capstone \
+		libopcodes-2.40.so:devel/binutils
 
-BUILD_DEPENDS=	gnulibiberty>=2.33.1:devel/gnulibiberty \
-		binutils>=2.33.1:devel/binutils
-
-USES=		cmake compiler:c++17-lang \
+USES=		cmake compiler:c++17-lang desktop-file-utils gettext-runtime \
 		kde:5 pkgconfig qt:5
-
-USE_QT=		core \
-		buildtools:build qmake:build testlib:build
-USE_KDE=	itemmodels \
-		doctools:build ecm:build
-
+USE_KDE=	itemmodels doctools:build ecm:build
 KDE_INVENT=	942274185cc89fabf74f5f1efb886ecf210ab2fb sdk
+USE_QT=	core gui widgets buildtools:build qmake:build testlib:build
 
 .include <bsd.port.mk>