summaryrefslogtreecommitdiff
path: root/Ports/lua/patches
diff options
context:
space:
mode:
authorLarkin <45925460+larb0b@users.noreply.github.com>2019-09-24 02:56:39 -0400
committerAndreas Kling <awesomekling@gmail.com>2019-09-24 08:56:39 +0200
commit18249b599634be4162b4ddbb32f002c75ee07060 (patch)
treedd7c700f0f0833ffffc782995da3108d82c43a3e /Ports/lua/patches
parentd5f1c57fe2cc7cf863b4c99b4d11460f3b547c2c (diff)
downloadserenity-18249b599634be4162b4ddbb32f002c75ee07060.zip
Ports: Switch to new ports system (#594)
Much redundancy is removed from package scripts with this system. It also supports simple dependency management, uninstalling (through BSD ports style plist files), cleaning up after itself (with clean, clean_dist, clean_all commands), etc.
Diffstat (limited to 'Ports/lua/patches')
-rw-r--r--Ports/lua/patches/lua.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/Ports/lua/patches/lua.patch b/Ports/lua/patches/lua.patch
new file mode 100644
index 0000000000..fe15f963e5
--- /dev/null
+++ b/Ports/lua/patches/lua.patch
@@ -0,0 +1,22 @@
+--- lua/src/Makefile 2018-06-25 13:46:36.000000000 -0400
++++ /home/mustafa/src/lua/src/Makefile 2019-05-28 15:26:12.575719307 -0400
+@@ -4,15 +4,15 @@
+ # == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT =======================
+
+ # Your platform. See PLATS for possible values.
+-PLAT= none
++PLAT= generic
+
+-CC= gcc -std=gnu99
++CC= i686-pc-serenity-gcc -std=gnu99
+ CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS)
+ LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
+ LIBS= -lm $(SYSLIBS) $(MYLIBS)
+
+-AR= ar rcu
+-RANLIB= ranlib
++AR= i686-pc-serenity-ar rcu
++RANLIB= i686-pc-serenity-ranlib
+ RM= rm -f
+
+ SYSCFLAGS=