git: 3c55dbf168ac - main - multimedia/msopenh264: Fix build

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 17 Sep 2025 21:27:37 UTC
The branch main has been updated by bofh:

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

commit 3c55dbf168aced188c9b632cc7e6ef699fdefb9a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-09-17 20:53:48 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-09-17 21:02:33 +0000

    multimedia/msopenh264: Fix build
---
 multimedia/msopenh264/Makefile | 22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)

diff --git a/multimedia/msopenh264/Makefile b/multimedia/msopenh264/Makefile
index 34ada6c4852c..b68d05d62e72 100644
--- a/multimedia/msopenh264/Makefile
+++ b/multimedia/msopenh264/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	msopenh264
 DISTVERSION=	5.2.0
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	multimedia net
 
 PATCH_SITES=	https://gitlab.linphone.org/BC/public/msopenh264/-/commit/
@@ -13,23 +13,19 @@ WWW=		https://www.linphone.org/technical-corner/mediastreamer2.html
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	${LOCALBASE}/lib/libbctoolbox.a:net/bctoolbox \
-		${LOCALBASE}/lib/libbcunit.a:devel/bcunit \
-		${LOCALBASE}/lib/libbcmatroska2.a:multimedia/bcmatroska2 \
-		${LOCALBASE}/lib/libbzrtp.a:security/bzrtp \
-		${LOCALBASE}/lib/libmediastreamer2.a:net/mediastreamer \
-		${LOCALBASE}/lib/libortp.a:net/ortp \
-		v4l_compat>=1.0.20120501:multimedia/v4l_compat
-LIB_DEPENDS=	libopenh264.so:multimedia/openh264
+BUILD_DEPENDS=	v4l_compat>=1.0.20120501:multimedia/v4l_compat
+LIB_DEPENDS=	\
+		libmediastreamer2.so:net/mediastreamer \
+		libopenh264.so:multimedia/openh264
 
-USES=		cmake gl
+USES=		cmake
 USE_GITLAB=	yes
 GL_SITE=	https://gitlab.linphone.org/BC
 GL_ACCOUNT=	public
-USE_GL=		opengl
 
-CMAKE_ARGS=	-DENABLE_STATIC=NO \
-		-DMEDIASTREAMER2_PLUGINS_LOCATION=${CMAKE_INSTALL_PREFIX}/lib/mediastreamer/plugins
+CMAKE_ARGS=	-DMEDIASTREAMER2_PLUGINS_LOCATION=${CMAKE_INSTALL_PREFIX}/lib/mediastreamer/plugins
+CMAKE_OFF=	ENABLE_STATIC
+
 PLIST_FILES=	lib/mediastreamer/plugins/libmsopenh264.so
 
 post-patch: