<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bda71d45f37b7c3fb05298d82823e6cc473bcf8f">https://github.com/macports/macports-ports/commit/bda71d45f37b7c3fb05298d82823e6cc473bcf8f</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 bda71d45f37 blender: Fix 'OSL_SHADER_DIR-NOTFOUND' compile error
</span>bda71d45f37 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit bda71d45f37b7c3fb05298d82823e6cc473bcf8f
</span>Author: Jason Liu <jasonliu--@users.noreply.github.com>
AuthorDate: Tue Nov 23 17:02:58 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> blender: Fix 'OSL_SHADER_DIR-NOTFOUND' compile error
</span>---
graphics/blender/Portfile | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/blender/Portfile b/graphics/blender/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 91effab4cf3..57d9ec11b34 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/blender/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/blender/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,7 +8,7 @@ PortGroup boost 1.0
</span>
name blender
version 2.91.2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 5
</span> categories graphics multimedia
platforms darwin
license GPL-2+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -248,6 +248,27 @@ list(APPEND USD_LIBRARIES\\
</span> ${platform_apple.cmake}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Fix hard-coded paths in the Find*.cmake scripts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach f [glob -directory \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/build_files/cmake/Modules *.cmake \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach re [list \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|/usr/local|${prefix}|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|/usr/lib|${prefix}/lib|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|/usr/include|${prefix}/include|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|/usr/share|${prefix}/share|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|/opt/lib/\[0-9A-Za-z\]+|${prefix}/lib|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|/opt/include|${prefix}/include|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|/opt/share|${prefix}/share|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q -E $re $f
</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;'>+ reinplace -E "s|(${prefix}/lib)|\\1/opencollada|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/build_files/cmake/Modules/FindOpenCOLLADA.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s|(${prefix}/lib)|\\1/usd|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/build_files/cmake/Modules/FindUSD.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> foreach re [list \
"s/@@py_ver@@/$py_ver/g" \
"s/@@py_ver_nodot@@/$py_ver_nodot/g" \
</pre><pre style='margin:0'>
</pre>