<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/8434970a96310576d95159cc8844be256d237537">https://github.com/macports/macports-ports/commit/8434970a96310576d95159cc8844be256d237537</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 8434970a963 libtorrent-rasterbar: Specify the right boost_python library name
</span>8434970a963 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8434970a96310576d95159cc8844be256d237537
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Jul 3 00:55:47 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> libtorrent-rasterbar: Specify the right boost_python library name
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The boost port's boost_python library changed names at some point and
</span><span style='display:block; white-space:pre;color:#404040;'> now has a python version suffix.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This doesn't change the build; the build system previously detected that
</span><span style='display:block; white-space:pre;color:#404040;'> the specified library didn't exist and found the right one on its own.
</span>---
net/libtorrent-rasterbar/Portfile | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/libtorrent-rasterbar/Portfile b/net/libtorrent-rasterbar/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0d2c9e18ccc..6b24b415afa 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/libtorrent-rasterbar/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/libtorrent-rasterbar/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,8 +45,7 @@ configure.cxxflags-append -std=c++14
</span>
configure.args --disable-silent-rules \
--enable-python-binding \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-boost-libdir="${prefix}/lib" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-boost-python="boost_python-mt"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-boost-libdir="${prefix}/lib"
</span>
configure.cmd ./autotool.sh && ./configure
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -57,6 +56,8 @@ conflicts_build ${name}
</span> variant python27 conflicts python37 python38 description {Build bindings for Python 2.7} {
require_active_variants boost python27
depends_lib-append port:python27
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-boost-python="boost_python27-mt"
</span> configure.python ${prefix}/bin/python2.7
configure.env-append \
PYTHON_INSTALL_PARAMS=--prefix=${destroot}${frameworks_dir}/Python.framework/Versions/2.7 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -66,6 +67,8 @@ variant python27 conflicts python37 python38 description {Build bindings for Pyt
</span> variant python37 conflicts python27 python38 description {Build bindings for Python 3.7} {
require_active_variants boost python37
depends_lib-append port:python37
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-boost-python="boost_python37-mt"
</span> configure.python ${prefix}/bin/python3.7
configure.env-append \
PYTHON_INSTALL_PARAMS=--prefix=${destroot}${frameworks_dir}/Python.framework/Versions/3.7 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -75,6 +78,8 @@ variant python37 conflicts python27 python38 description {Build bindings for Pyt
</span> variant python38 conflicts python27 python37 description {Build bindings for Python 3.8} {
require_active_variants boost python38
depends_lib-append port:python38
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-boost-python="boost_python38-mt"
</span> configure.python ${prefix}/bin/python3.8
configure.env-append \
PYTHON_INSTALL_PARAMS=--prefix=${destroot}${frameworks_dir}/Python.framework/Versions/3.8 \
</pre><pre style='margin:0'>
</pre>