aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Palmen <felix@palmen-it.de>2022-07-20 17:47:00 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-07-26 14:31:44 +0000
commitb33f52777941c891b928a9dde7cb3aa8fa0209e6 (patch)
treedd796ec3256b7518ea9355e6bfba737dfe5b2217
parentab86401cbd2e4de93d115a190db1e32a4e513c8f (diff)
downloadports-b33f52777941c891b928a9dde7cb3aa8fa0209e6.tar.gz
ports-b33f52777941c891b928a9dde7cb3aa8fa0209e6.zip
net/linphone: Fix build when git is installed
* The upstream build includes a subdirectory that attempts to call git, expecting the source to be a git clone, so the build failed on a system that has git installed. Just exclude this subdirectory, as it's not used to build linphone itself (and therefore doesn't affect the outcome), patch suggested by hselasky in D35805. * Take maintainership. PR: 264734
-rw-r--r--net/linphone/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/linphone/Makefile b/net/linphone/Makefile
index 4f64d36ec09e..0c23fef26f88 100644
--- a/net/linphone/Makefile
+++ b/net/linphone/Makefile
@@ -3,7 +3,7 @@ PORTVERSION= 4.4.8
PORTEPOCH= 1
CATEGORIES= net
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= felix@palmen-it.de
COMMENT= SIP client supporting voice/video calls and text messaging
LICENSE= GPLv3
@@ -40,6 +40,7 @@ post-patch:
-e 's/set(FULL_VERSION /&${PORTVERSION}/' \
-e 's/INSTALL_RPATH_USE_LINK_PATH/BUILD_WITH_INSTALL_RPATH/' \
-e '/add_subdirectory.*linphone_package/d' \
+ -e '/add_subdirectory.*build/d' \
-e '/add_custom_command/d' -e '/deployqt_hack/d' \
${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} 's/LINPHONE_QT_GIT_VERSION/"${PORTVERSION}"/' \