<pre style='margin:0'>
Chih-Hsuan Yen (yan12125) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/754012d7ecde34437769b5ea4967997c6f89b351">https://github.com/macports/macports-ports/commit/754012d7ecde34437769b5ea4967997c6f89b351</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 754012d pgAdmin3: fix building by switching to libgcrypt
</span>754012d is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 754012d7ecde34437769b5ea4967997c6f89b351
</span>Author: Chih-Hsuan Yen <yan12125@gmail.com>
AuthorDate: Tue Sep 24 08:57:30 2019 +0800
<span style='display:block; white-space:pre;color:#404040;'> pgAdmin3: fix building by switching to libgcrypt
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The best fix is going to pgAdmin4, but the latter is now a Python
</span><span style='display:block; white-space:pre;color:#404040;'> package and requires many dependencies missing from MacPorts [1].
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also tried debundling libssh2 - need way too many patches.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> No revbump as it's a build fix.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> [1] https://www.archlinux.org/packages/community/x86_64/pgadmin4/
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/59086
</span>---
aqua/pgAdmin3/Portfile | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/pgAdmin3/Portfile b/aqua/pgAdmin3/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ceba8e8..9fb6578 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/pgAdmin3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/pgAdmin3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,11 +27,16 @@ master_sites https://developer.pgadmin.org/ftp/release/v${version}/src/ \
</span> distname pgadmin3-${version}
checksums rmd160 48e732089cd1879f99d1894229a9cc23ed3c0c44 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 9b68b0e3d3f0a261344fb8196825967d1e7acaca1d8cc82c42e12368ca5844ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 9b68b0e3d3f0a261344fb8196825967d1e7acaca1d8cc82c42e12368ca5844ac \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 14788481
</span>
wxWidgets.use wxWidgets-3.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# For unknown reasons pgAdmin3.app/Contents/MacOS/pgAdmin3 still links to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# libcrypto.1.1.dylib, so the openssl dependency is needed even if pgAdmin3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# is built with libgcrypt.
</span> depends_lib path:lib/libssl.dylib:openssl \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libgcrypt \
</span> port:libxml2 \
port:libxslt \
port:${wxWidgets.port}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,7 +46,9 @@ configure.args --with-wx=${wxWidgets.prefix} \
</span> --with-libxml2=${prefix} \
--with-libxslt=${prefix} \
--with-arch-x86_64 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-appbundle
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-appbundle \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-libgcrypt=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-openssl=no
</span>
use_parallel_build no
build.target all install
</pre><pre style='margin:0'>
</pre>