<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/38cda675208901f40255dc26b08761077eb3db01">https://github.com/macports/macports-ports/commit/38cda675208901f40255dc26b08761077eb3db01</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 38cda675208901f40255dc26b08761077eb3db01
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Thu Jun 3 19:50:22 2021 +0800

<span style='display:block; white-space:pre;color:#404040;'>    libtorrent-rasterbar: use the new boost pg
</span>---
 net/libtorrent-rasterbar/Portfile | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 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 c3df7f1dfd0..080fc674669 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;'>@@ -6,8 +6,10 @@ PortGroup           compiler_blacklist_versions 1.0
</span> PortGroup           conflicts_build 1.0
 PortGroup           github 1.0
 PortGroup           cmake 1.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup           boost 1.0
</span> 
 github.setup        arvidn libtorrent 2.0.3 v
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> name                libtorrent-rasterbar
 license             BSD
 categories          net
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,8 +29,7 @@ checksums           rmd160  b47ce089cb9f7452ac7e9a8265c58cf18cc298b5 \
</span>                     sha256  59bfc7654bccaa2735353fb21e503ed6f66f1964150b70799150ed3f2403bcc5 \
                     size    4294340
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib         port:boost \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    path:lib/libssl.dylib:openssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append  path:lib/libssl.dylib:openssl
</span> 
 patchfiles          patch-python-use-the-right-compiler.diff
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,7 +41,8 @@ compiler.blacklist-append *gcc-3.* *gcc-4.* {clang < 900.0.39.2}
</span> # ensure that compiler is using C++14 mode
 configure.cxxflags-append -std=c++14
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args      -DBoost_LIBRARY_DIR_RELEASE="${prefix}/lib" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    -DBoost_LIBRARY_DIR_RELEASE=[boost::lib_dir] \
</span>                     -Dencryption=ON \
                     -DCMAKE_BUILD_TYPE=Release \
                     -DCMAKE_CXX_STANDARD=14 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -53,27 +55,27 @@ universal_variant   no
</span> conflicts_build     ${name}
 
 variant python37 conflicts python38 python39 description {Build bindings for Python 3.7} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        require_active_variants boost python37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        require_active_variants boost[boost::version_nodot] python37
</span>         depends_lib-append port:python37
         configure.args-append \
                 -DPython3_EXECUTABLE=${prefix}/bin/python3.7 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                -DBoost_PYTHON37_LIBRARY_RELEASE=${prefix}/lib/libboost_python37-mt.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                -DBoost_PYTHON37_LIBRARY_RELEASE=[boost::lib_dir]/libboost_python37-mt.dylib
</span> }
 
 variant python38 conflicts python37 python39 description {Build bindings for Python 3.8} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        require_active_variants boost python38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        require_active_variants boost[boost::version_nodot] python38
</span>         depends_lib-append port:python38
         configure.args-append \
                 -DPython3_EXECUTABLE=${prefix}/bin/python3.8 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                -DBoost_PYTHON38_LIBRARY_RELEASE=${prefix}/lib/libboost_python38-mt.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                -DBoost_PYTHON38_LIBRARY_RELEASE=[boost::lib_dir]/libboost_python38-mt.dylib
</span> }
 
 variant python39 conflicts python37 python38 description {Build bindings for Python 3.9} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        require_active_variants boost python39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        require_active_variants boost[boost::version_nodot] python39
</span>         depends_lib-append port:python39
         configure.args-append \
                 -DPython3_EXECUTABLE=${prefix}/bin/python3.9 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                -DBoost_PYTHON39_LIBRARY_RELEASE=${prefix}/lib/libboost_python39-mt.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                -DBoost_PYTHON39_LIBRARY_RELEASE=[boost::lib_dir]/libboost_python39-mt.dylib
</span> }
 
 variant error_logging description {Enable logging of errors to disk} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -81,5 +83,5 @@ variant error_logging description {Enable logging of errors to disk} {
</span> }
 
 if {![variant_isset python37] && ![variant_isset python38] && ![variant_isset python39]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        default_variants +python38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        default_variants +python39
</span> }
</pre><pre style='margin:0'>

</pre>