<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/7024f0bce6a7a44faf0d7bdcebf98df78082b2b1">https://github.com/macports/macports-ports/commit/7024f0bce6a7a44faf0d7bdcebf98df78082b2b1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 7024f0bce6a7a44faf0d7bdcebf98df78082b2b1
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Fri Jun 3 20:07:23 2022 +1000

<span style='display:block; white-space:pre;color:#404040;'>    octave: fix post-build error with -qt5
</span>---
 math/octave/Portfile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/octave/Portfile b/math/octave/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1562d67e0a1..115fcce3f2a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/octave/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/octave/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -620,9 +620,11 @@ post-build {
</span>     # fix @rpath for octave-cli
     system "install_name_tool -change @rpath/libgfortran.5.dylib ${prefix}/lib/libgcc/libgfortran.5.dylib ${worksrcpath}/src/.libs/octave-cli"
     system "install_name_tool -change @rpath/libquadmath.0.dylib ${prefix}/lib/libgcc/libquadmath.0.dylib ${worksrcpath}/src/.libs/octave-cli"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    # fix @rpath for octave-gui
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    system "install_name_tool -change @rpath/libgfortran.5.dylib ${prefix}/lib/libgcc/libgfortran.5.dylib ${worksrcpath}/src/.libs/octave-gui"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    system "install_name_tool -change @rpath/libquadmath.0.dylib ${prefix}/lib/libgcc/libquadmath.0.dylib ${worksrcpath}/src/.libs/octave-gui"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # fix @rpath for octave-gui (may not exist depending on variants)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {[file exists ${worksrcpath}/src/.libs/octave-gui]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        system "install_name_tool -change @rpath/libgfortran.5.dylib ${prefix}/lib/libgcc/libgfortran.5.dylib ${worksrcpath}/src/.libs/octave-gui"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        system "install_name_tool -change @rpath/libquadmath.0.dylib ${prefix}/lib/libgcc/libquadmath.0.dylib ${worksrcpath}/src/.libs/octave-gui"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span> }
 
 post-destroot {
</pre><pre style='margin:0'>

</pre>