aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-05-02 09:43:08 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-06-09 21:29:24 +0000
commitafb3593eef00caa8b7501362910408e3ddc2ca71 (patch)
tree339e01675a605aa8df854439a4dea4e77c93b683 /net-im
parent0e39c83d511eca5b55241dc3e63ca5a4b3e629a8 (diff)
downloadports-afb3593eef00caa8b7501362910408e3ddc2ca71.tar.gz
ports-afb3593eef00caa8b7501362910408e3ddc2ca71.zip
devel/meson: update to 0.58.1
Changes: https://mesonbuild.com/Release-notes-for-0-58-0.html Reported by: GitHub (watch releases) PR: 255550 Exp-run by: antoine Approved by: tcberner
Diffstat (limited to 'net-im')
-rw-r--r--net-im/libnice/files/patch-docs_reference_libnice_meson.build17
1 files changed, 17 insertions, 0 deletions
diff --git a/net-im/libnice/files/patch-docs_reference_libnice_meson.build b/net-im/libnice/files/patch-docs_reference_libnice_meson.build
index 06639f8e4349..aeff469b9240 100644
--- a/net-im/libnice/files/patch-docs_reference_libnice_meson.build
+++ b/net-im/libnice/files/patch-docs_reference_libnice_meson.build
@@ -1,3 +1,6 @@
+- Keep graphviz optional with meson >= 0.58 after
+ https://github.com/mesonbuild/meson/commit/80c89a650b6f
+
--- docs/reference/libnice/meson.build.orig 2020-11-25 16:39:27 UTC
+++ docs/reference/libnice/meson.build
@@ -26,7 +26,7 @@ ignore_headers = [
@@ -9,3 +12,17 @@
fake_makefile = custom_target ('libnice-docs-test-Makefile',
output: 'Makefile',
command: [
+@@ -67,6 +67,8 @@ gnome.gtkdoc('libnice',
+ # If we ever need to regenerate this diagram.
+ # Since it’s not expected to change much, let’s not depend on GraphViz to
+ # build the docs (that's also why we don't use find_program('dot') here)
++dot = find_program('dot', required: false)
++if dot.found()
+ run_target('update-states.png',
+ command: ['dot',
+ '-Tpng',
+@@ -74,3 +76,4 @@ run_target('update-states.png',
+ '-Gsize=9.6,2.9!',
+ '-Gdpi=200',
+ files('states.gv')])
++endif