<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/58f1d14235ebe8f5e349b29632bac21544a8340f">https://github.com/macports/macports-ports/commit/58f1d14235ebe8f5e349b29632bac21544a8340f</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 58f1d14235e gnuplot: use lua PG
</span>58f1d14235e is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 58f1d14235ebe8f5e349b29632bac21544a8340f
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sun Mar 12 09:00:09 2023 -0700

<span style='display:block; white-space:pre;color:#404040;'>    gnuplot: use lua PG
</span>---
 math/gnuplot/Portfile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/gnuplot/Portfile b/math/gnuplot/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 80eb8f20c95..b5918de1a54 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/gnuplot/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/gnuplot/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -87,8 +87,13 @@ variant x11 {
</span> }
 
 variant luaterm description "Enable lua-based terminals" {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    depends_lib-append          port:lua
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    PortGroup                   lua 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     configure.args-replace      --without-lua --with-lua
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    build.args-append           LUA=${lua.bin}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # other libraries add ${prefix}/include to the CPPFLAGS before ${configure.cppflags}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # so if lua is installed, its headers will be found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    lua.finds_default           yes
</span> }
 
 variant pangocairo description "Enable cairo-based terminals" {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -150,7 +155,7 @@ if {[variant_isset pangocairo] || [variant_isset wxwidgets]} {
</span> # So we 'manually' generate and copy the necessary files.
 post-build {
     if {[variant_isset luaterm]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        system -W ${worksrcpath}/share/LaTeX "${prefix}/bin/lua ../../term/lua/gnuplot-tikz.lua style"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        system -W ${worksrcpath}/share/LaTeX "${lua.bin} ../../term/lua/gnuplot-tikz.lua style"
</span>     }
 }
 
</pre><pre style='margin:0'>

</pre>