[140234] trunk/dports/lang/lua
devans at macports.org
devans at macports.org
Sun Sep 13 10:38:46 PDT 2015
Revision: 140234
https://trac.macports.org/changeset/140234
Author: devans at macports.org
Date: 2015-09-13 10:38:45 -0700 (Sun, 13 Sep 2015)
Log Message:
-----------
lua: configure to build with lua 5.1 as well as 5.2 backwards compatibility, fixes libquvi dynamic linking problems after upgrade to lua 5.3.
Modified Paths:
--------------
trunk/dports/lang/lua/Portfile
trunk/dports/lang/lua/files/patch-src-Makefile.diff
Modified: trunk/dports/lang/lua/Portfile
===================================================================
--- trunk/dports/lang/lua/Portfile 2015-09-13 11:56:24 UTC (rev 140233)
+++ trunk/dports/lang/lua/Portfile 2015-09-13 17:38:45 UTC (rev 140234)
@@ -6,6 +6,7 @@
name lua
conflicts lua50
version 5.3.1
+revision 1
set branch [join [lrange [split ${version} .] 0 1] .]
categories lang
license MIT
Modified: trunk/dports/lang/lua/files/patch-src-Makefile.diff
===================================================================
--- trunk/dports/lang/lua/files/patch-src-Makefile.diff 2015-09-13 11:56:24 UTC (rev 140233)
+++ trunk/dports/lang/lua/files/patch-src-Makefile.diff 2015-09-13 17:38:45 UTC (rev 140234)
@@ -1,5 +1,14 @@
---- src/Makefile.orig 2015-05-27 20:10:11.000000000 +0900
-+++ src/Makefile 2015-09-11 20:26:28.000000000 +0900
+--- src/Makefile.orig 2015-05-27 04:10:11.000000000 -0700
++++ src/Makefile 2015-09-13 07:24:00.000000000 -0700
+@@ -7,7 +7,7 @@
+ PLAT= none
+
+ CC= gcc -std=gnu99
+-CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS)
++CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS)
+ LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
+ LIBS= -lm $(SYSLIBS) $(MYLIBS)
+
@@ -29,6 +29,7 @@
PLATS= aix bsd c89 freebsd generic linux macosx mingw posix solaris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150913/eb39cea6/attachment.html>
More information about the macports-changes
mailing list