<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/0d7dd6afc0388f37b9244d598742b2b841418966">https://github.com/macports/macports-ports/commit/0d7dd6afc0388f37b9244d598742b2b841418966</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 0d7dd6a lua-luafilesystem: respect our deployment target
</span>0d7dd6a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 0d7dd6afc0388f37b9244d598742b2b841418966
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Tue May 21 07:59:35 2019 +1000
<span style='display:block; white-space:pre;color:#404040;'> lua-luafilesystem: respect our deployment target
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/58498
</span>---
devel/lua-luafilesystem/Portfile | 3 ++-
devel/lua-luafilesystem/files/MDT.diff | 20 ++++++++++++++++++++
2 files changed, 22 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/lua-luafilesystem/Portfile b/devel/lua-luafilesystem/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3800faa..03802dd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/lua-luafilesystem/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/lua-luafilesystem/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,12 +26,13 @@ checksums rmd160 2c1ddbe3855f8418a5b65dc935dc77edbd2cca34 \
</span> size 30881
depends_lib port:lua
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-config.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-config.diff MDT.diff
</span>
post-patch {
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/config
reinplace "s|luaL_reg |luaL_Reg |g" ${worksrcpath}/src/lfs.c
reinplace "/^LUA_LIBDIR=/s,lib/lua/5.1,lib/lua/5.3," ${worksrcpath}/config
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@MDT@@|${macosx_deployment_target}|" ${worksrcpath}/config
</span> }
use_configure no
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/lua-luafilesystem/files/MDT.diff b/devel/lua-luafilesystem/files/MDT.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..2adf8d3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/lua-luafilesystem/files/MDT.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.orig 2017-09-16 09:07:33.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile 2019-05-21 07:53:17.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -12,7 +12,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lib: src/lfs.so
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/lfs.so: $(OBJS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; $(CC) $(LIB_OPTION) -o src/lfs.so $(OBJS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MACOSX_DEPLOYMENT_TARGET=$(MACOSX_DEPLOYMENT_TARGET); export MACOSX_DEPLOYMENT_TARGET; $(CC) $(LIB_OPTION) -o src/lfs.so $(OBJS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test: lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LUA_CPATH=./src/?.so lua tests/test.lua
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- config.orig 2019-05-21 07:52:19.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ config 2019-05-21 07:54:28.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -21,4 +21,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS+= $(WARN) $(INCS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CC= gcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++MACOSX_DEPLOYMENT_TARGET=@@MDT@@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # $Id: config,v 1.21 2007/10/27 22:42:32 carregal Exp $
</span></pre><pre style='margin:0'>
</pre>