<pre style='margin:0'>
Daniel J. Luke (danielluke) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/cb7db2d22d1d62e5f9aa9d285128114cc7885b7a">https://github.com/macports/macports-ports/commit/cb7db2d22d1d62e5f9aa9d285128114cc7885b7a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit cb7db2d22d1d62e5f9aa9d285128114cc7885b7a
</span>Author: Daniel J. Luke <dluke@macports.org>
AuthorDate: Wed Oct 23 10:26:25 2019 -0400
<span style='display:block; white-space:pre;color:#404040;'> bind9: hack to build with pkg-config
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes https://trac.macports.org/ticket/59449
</span>---
net/bind9/Portfile | 8 ++++++--
net/bind9/files/patch-configure.diff | 13 +++++++++++++
2 files changed, 19 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/bind9/Portfile b/net/bind9/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d98c580..0e0204c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/bind9/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/bind9/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,7 +2,7 @@ PortSystem 1.0
</span>
name bind9
version 9.14.7
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> categories net
maintainers {geeklair.net:dluke @danielluke}
platforms darwin freebsd sunos
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,6 +28,8 @@ checksums rmd160 6caf6e1a7ea03e311c6bcdd1cca63547e230f86b \
</span> sha256 cea0f54e5908f77ffd21eb312ee9dd4f3f8f93ca312c6118f27d6c0fba45291d \
size 6320994
<span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib path:lib/libssl.dylib:openssl \
port:libxml2 \
port:python37 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,7 +40,9 @@ universal_variant no
</span>
compiler.blacklist gcc-4.2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles atomics.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#- configure hack to use pkgc-config for libxml2 libraries because
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#- xml2-config includes the icu libraries and we overlink otherwiwse
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles atomics.patch patch-configure.diff
</span>
test.run yes
test.target test
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/bind9/files/patch-configure.diff b/net/bind9/files/patch-configure.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..5609d7e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/bind9/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2019-10-23 09:47:14.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2019-10-23 09:47:54.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -17133,8 +17133,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test -f "$use_libxml2/bin/xml2-config" ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- libxml2_libs=`$use_libxml2/bin/xml2-config --libs`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- libxml2_cflags=`$use_libxml2/bin/xml2-config --cflags`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ libxml2_libs=`$use_libxml2/bin/pkg-config libxml-2.0 --libs`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ libxml2_cflags=`$use_libxml2/bin/pkg-config libxml-2.0 --cflags`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span></pre><pre style='margin:0'>
</pre>