1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:27:43 +00:00

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.
This commit is contained in:
Larkin 2019-09-24 02:56:39 -04:00 committed by Andreas Kling
parent d5f1c57fe2
commit 18249b5996
47 changed files with 6563 additions and 428 deletions

View file

@ -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=