Skip to contentSkip to conversation

ljsyscall: move installation path to /usr/share/lua/5x

PATCH New Danomi Manchego 3 participants 3 messages Jan 31, 2014 – Mar 6, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ljsyscall: move installation path to /usr/share/lua/5x

Move ljsyscall install destination to /usr/share/lua/$(abiver}, to match what the luarocks install would naturally do. This also reflects the value of INSTALL_LMOD in the luajit.pc file.

---
 package/ljsyscall/ljsyscall.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/ljsyscall/ljsyscall.mk +1 -1
index 1f36dc7..cc49890 100644
@@ -19,7 +19,7 @@ else ifeq ($(LJSYSCALL_ARCH),)
 LJSYSCALL_ARCH = $(BR2_ARCH)
 endif
 
-LJSYSCALL_TARGET_DIR = $(TARGET_DIR)/usr/share/luajit-$(LUAJIT_VERSION)
+LJSYSCALL_TARGET_DIR = $(TARGET_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)
 
 define LJSYSCALL_INSTALL_TARGET_CMDS
 	$(INSTALL) -d $(LJSYSCALL_TARGET_DIR)/syscall
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 ljsyscall: move installation path to /usr/share/lua/5x

2014-01-31 3:29 GMT+01:00 Danomi Manchego <[email protected]>:

Quoted 5 lines

Move ljsyscall install destination to /usr/share/lua/$(abiver}, to match what the luarocks install would naturally do. This also reflects the value of INSTALL_LMOD in the luajit.pc file.

Quoted 24 lines
---
 package/ljsyscall/ljsyscall.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/ljsyscall/ljsyscall.mk +1 -2
index 1f36dc7..cc49890 100644
@@ -19,7 +19,7 @@ else ifeq ($(LJSYSCALL_ARCH),)
 LJSYSCALL_ARCH = $(BR2_ARCH)
 endif
 
-LJSYSCALL_TARGET_DIR = $(TARGET_DIR)/usr/share/luajit-$(LUAJIT_VERSION)
+LJSYSCALL_TARGET_DIR = $(TARGET_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)
 
 define LJSYSCALL_INSTALL_TARGET_CMDS
        $(INSTALL) -d $(LJSYSCALL_TARGET_DIR)/syscall
--

1.7.9.5

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#2 lore raw

PATCH 1/1 ljsyscall: move installation path to /usr/share/lua/5x

In reply to Danomi Manchego

Dear Danomi Manchego,

Quoted 8 lines · Danomi Manchego

Move ljsyscall install destination to /usr/share/lua/$(abiver}, to match what the luarocks install would naturally do. This also reflects the value of INSTALL_LMOD in the luajit.pc file.

---
 package/ljsyscall/ljsyscall.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com