git: de2c238aa0a6 - main - net/linphone: Fix mediastreamer plugins dir

From: Felix Palmen <zirias_at_FreeBSD.org>
Date: Mon, 05 Sep 2022 16:37:19 UTC
The branch main has been updated by zirias:

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

commit de2c238aa0a69cd2dcf828f3ae0d80108194f44f
Author:     Ruslan Zalata <rz@fabmicro.ru>
AuthorDate: 2022-08-24 03:52:08 +0000
Commit:     Felix Palmen <zirias@FreeBSD.org>
CommitDate: 2022-09-05 16:36:20 +0000

    net/linphone: Fix mediastreamer plugins dir
    
    PR:                     266008
    Approved by:            tcberner (mentor)
    Differential Revision:  https://reviews.freebsd.org/D36458
---
 net/linphone/Makefile                   |  2 +-
 net/linphone/files/patch-CMakeLists.txt | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/net/linphone/Makefile b/net/linphone/Makefile
index 78b167c1ed8a..42e3345905a3 100644
--- a/net/linphone/Makefile
+++ b/net/linphone/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	linphone
 PORTVERSION=	4.4.8
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	net
 
diff --git a/net/linphone/files/patch-CMakeLists.txt b/net/linphone/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..1b68c310fbb9
--- /dev/null
+++ b/net/linphone/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2022-08-24 10:17:10 UTC
++++ CMakeLists.txt
+@@ -487,7 +487,7 @@ if(APPLE)
+ 		set(MSPLUGINS_DIR "Frameworks/mediastreamer2.framework/Versions/A/Libraries")
+ 	endif()
+ else()
+-	set(MSPLUGINS_DIR "plugins/mediastreamer")
++	set(MSPLUGINS_DIR "lib/mediastreamer/plugins")
+ endif()
+ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/src/config.h.cmake" "${CMAKE_CURRENT_BINARY_DIR}/config.h")
+ # ------------------------------------------------------------------------------