<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b5a9e6650469e3572d979ef09fb51bf1adc49113">https://github.com/macports/macports-ports/commit/b5a9e6650469e3572d979ef09fb51bf1adc49113</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new b5a9e66 glib-networking: fix destroot failure
</span>b5a9e66 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b5a9e6650469e3572d979ef09fb51bf1adc49113
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Wed Mar 13 17:12:41 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> glib-networking: fix destroot failure
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Don't run gio-querymodules during destroot. We do it in post-activate.
</span>---
gnome/glib-networking/Portfile | 2 ++
.../patch-disable-gio-querymodules-during-destroot.diff | 16 ++++++++++++++++
2 files changed, 18 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/glib-networking/Portfile b/gnome/glib-networking/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c701837..780df97 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/glib-networking/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/glib-networking/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,6 +30,8 @@ depends_lib-append port:glib2 \
</span>
depends_run path:share/curl/curl-ca-bundle.crt:curl-ca-bundle
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-disable-gio-querymodules-during-destroot.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-activate {
system "${prefix}/bin/gio-querymodules ${prefix}/lib/gio/modules"
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/glib-networking/files/patch-disable-gio-querymodules-during-destroot.diff b/gnome/glib-networking/files/patch-disable-gio-querymodules-during-destroot.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..8943cbf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/glib-networking/files/patch-disable-gio-querymodules-during-destroot.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,16 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- meson.build.orig 2019-03-13 16:59:12.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ meson.build 2019-03-13 17:03:58.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -185,9 +185,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Will automatically pick it up from the cross file if defined
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gio_querymodules = find_program('gio-querymodules', required : false)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if gio_querymodules.found()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- meson.add_install_script('meson_post_install.py', gio_querymodules.path(), gio_module_dir)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# don't run gio-querymodules during destroot -- we'll do it in post-activate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if gio_querymodules.found()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# meson.add_install_script('meson_post_install.py', gio_querymodules.path(), gio_module_dir)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ output = '\n\n'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ output += ' gnutls support: ' + backends.contains('gnutls').to_string() + '\n'
</span></pre><pre style='margin:0'>
</pre>