<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2a3aff315b1bf581bf6392bb2b3c863b1db9da26">https://github.com/macports/macports-ports/commit/2a3aff315b1bf581bf6392bb2b3c863b1db9da26</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 2a3aff315b1 lua-lpeg: update to 1.0.2
</span>2a3aff315b1 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2a3aff315b1bf581bf6392bb2b3c863b1db9da26
</span>Author: Zero King <l2dy@macports.org>
AuthorDate: Sat May 15 12:02:42 2021 +0000
<span style='display:block; white-space:pre;color:#404040;'> lua-lpeg: update to 1.0.2
</span>---
devel/lua-lpeg/Portfile | 13 ++++++-------
devel/lua-lpeg/files/patch-makefile.diff | 8 ++++----
2 files changed, 10 insertions(+), 11 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/lua-lpeg/Portfile b/devel/lua-lpeg/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b722b5073c8..f76c330f7f5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/lua-lpeg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/lua-lpeg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span>
name lua-lpeg
license MIT
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.12.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.0.2
</span> categories devel
platforms darwin
maintainers gmail.com:andremm openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,11 +15,10 @@ long_description LPeg is a new pattern-matching library for Lua, based on \
</span> homepage http://www.inf.puc-rio.br/~roberto/lpeg
master_sites ${homepage}
distname lpeg-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# upstream archive had a stealth update, setting subdir since it's likely to happen again
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-dist_subdir ${name}/${version}_1
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 fb6d1613b668edbddfbffd378642827f0c1626ee \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 6aad270b91d1b1c6fd75f68e162329a04a644e50e917d55f46cc8384b7120004
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 af7afa406b604116f0bac77b8974751bff2b4e65 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 71840
</span>
depends_build port:pkgconfig
depends_lib port:lua
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,7 +32,7 @@ pre-configure {
</span> reinplace "s|%%CFLAGS%%|${configure.cflags} [exec ${prefix}/bin/pkg-config lua --cflags]|" ${worksrcpath}/makefile
reinplace "s|%%LDFLAGS%%|${configure.ldflags} [exec ${prefix}/bin/pkg-config lua --libs]|" ${worksrcpath}/makefile
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|/usr/bin/env lua5.1|${prefix}/bin/lua|" ${worksrcpath}/test.lua
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|/usr/bin/env lua|${prefix}/bin/lua|" ${worksrcpath}/test.lua
</span> }
use_configure no
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -42,7 +41,7 @@ variant universal {}
</span>
build.target macosx
build.args CC="${configure.cc} [get_canonical_archflags]" \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- LUADIR=${prefix}/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LUADIR=${prefix}/include
</span>
destroot {
set lua_cmod [exec ${prefix}/bin/pkg-config lua --variable INSTALL_CMOD]
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/lua-lpeg/files/patch-makefile.diff b/devel/lua-lpeg/files/patch-makefile.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index aa32f0cca6c..bdbab868999 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/lua-lpeg/files/patch-makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/lua-lpeg/files/patch-makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,5 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- makefile.orig 2015-03-04 09:34:17.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ makefile 2015-09-14 13:11:45.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- makefile.orig 2019-03-11 14:08:29.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ makefile 2021-05-15 11:51:27.000000000 +0000
</span> @@ -22,8 +22,8 @@
# -Wunreachable-code \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,8 +15,8 @@
</span>
# For Mac OS
macosx:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-- make lpeg.so "DLLFLAGS = -bundle -undefined dynamic_lookup"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ make lpeg.so "DLLFLAGS = -bundle -undefined dynamic_lookup %%LDFLAGS%%"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(MAKE) lpeg.so "DLLFLAGS = -bundle -undefined dynamic_lookup"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(MAKE) lpeg.so "DLLFLAGS = -bundle -undefined dynamic_lookup %%LDFLAGS%%"
</span>
lpeg.so: $(FILES)
env $(CC) $(DLLFLAGS) $(FILES) -o lpeg.so
</pre><pre style='margin:0'>
</pre>