mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
Ports: Make lua depends and build with readline
This commit is contained in:
parent
4cbf78ce6a
commit
a4e5c6201e
2 changed files with 3 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
|||
port=lua
|
||||
version=5.3.6
|
||||
files="http://www.lua.org/ftp/lua-${version}.tar.gz lua-${version}.tar.gz fc5fd69bb8736323f026672b1b7235da613d7177e72558893a0bdcd320466d60"
|
||||
depends=("readline")
|
||||
auth_type=sha256
|
||||
makeopts=("-Csrc/" "-j$(nproc)" "serenity" "CC=${CC}" "AR=${AR}" "RANLIB=${RANLIB}" )
|
||||
installopts=("INSTALL_TOP=${SERENITY_INSTALL_ROOT}/usr/local")
|
||||
|
|
|
@ -26,8 +26,8 @@ diff -Naur lua-5.3.6/src/Makefile lua-5.3.6.serenity/src/Makefile
|
|||
+ $(MAKE) $(ALL) \
|
||||
+ CC="$(CC) -std=gnu99" \
|
||||
+ AR="$(AR) rcu" \
|
||||
+ SYSCFLAGS="-DLUA_USE_DLOPEN" \
|
||||
+ SYSLIBS="-ldl"
|
||||
+ SYSCFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN -DLUA_USE_READLINE" \
|
||||
+ SYSLIBS="-ldl -lreadline"
|
||||
+
|
||||
# list targets that do not create files (but not all makes understand .PHONY)
|
||||
.PHONY: all $(PLATS) default o a clean depend echo none
|
||||
|
|
Loading…
Reference in a new issue