Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
lua51-luajit
luajit-lua-versioned.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File luajit-lua-versioned.patch of Package lua51-luajit
Index: LuaJIT-2.0.4/src/Makefile =================================================================== --- LuaJIT-2.0.4.orig/src/Makefile +++ LuaJIT-2.0.4/src/Makefile @@ -15,6 +15,7 @@ MINVER= 0 RELVER= 4 ABIVER= 5.1 NODOTABIVER= 51 +SUFFIX= 5_1 ############################################################################## ############################# COMPILER OPTIONS ############################# @@ -474,7 +475,7 @@ LIB_VMDEFP= $(LIB_VMDEF) LUAJIT_O= luajit.o LUAJIT_A= libluajit.a LUAJIT_SO= libluajit.so -LUAJIT_T= luajit +LUAJIT_T= luajit-$(SUFFIX) ALL_T= $(LUAJIT_T) $(LUAJIT_A) $(LUAJIT_SO) $(HOST_T) ALL_HDRGEN= lj_bcdef.h lj_ffdef.h lj_libdef.h lj_recdef.h lj_folddef.h \ Index: LuaJIT-2.0.4/Makefile =================================================================== --- LuaJIT-2.0.4.orig/Makefile +++ LuaJIT-2.0.4/Makefile @@ -18,6 +18,7 @@ MINVER= 0 RELVER= 4 VERSION= $(MAJVER).$(MINVER).$(RELVER) ABIVER= 5.1 +SUFFIX= 5_1 ############################################################################## # @@ -32,19 +33,19 @@ DPREFIX= $(DESTDIR)$(PREFIX) INSTALL_BIN= $(DPREFIX)/bin INSTALL_LIB= $(DPREFIX)/$(MULTILIB) INSTALL_SHARE= $(DPREFIX)/share -INSTALL_INC= $(DPREFIX)/include/luajit-$(MAJVER).$(MINVER) +INSTALL_INC= $(DPREFIX)/include/luajit-$(SUFFIX)-$(MAJVER).$(MINVER) -INSTALL_LJLIBD= $(INSTALL_SHARE)/luajit-$(VERSION) +INSTALL_LJLIBD= $(INSTALL_SHARE)/luajit-$(SUFFIX)-$(VERSION) INSTALL_JITLIB= $(INSTALL_LJLIBD)/jit INSTALL_LMODD= $(INSTALL_SHARE)/lua INSTALL_LMOD= $(INSTALL_LMODD)/$(ABIVER) INSTALL_CMODD= $(INSTALL_LIB)/lua INSTALL_CMOD= $(INSTALL_CMODD)/$(ABIVER) -INSTALL_MAN= $(INSTALL_SHARE)/man/man1 +INSTALL_MAN= $(INSTALL_SHARE)/man/man1/ INSTALL_PKGCONFIG= $(INSTALL_LIB)/pkgconfig -INSTALL_TNAME= luajit-$(VERSION) -INSTALL_TSYMNAME= luajit +INSTALL_TNAME= luajit-$(SUFFIX)-$(VERSION) +INSTALL_TSYMNAME= luajit-$(SUFFIX) INSTALL_ANAME= libluajit-$(ABIVER).a INSTALL_SONAME= libluajit-$(ABIVER).so.$(MAJVER).$(MINVER).$(RELVER) INSTALL_SOSHORT= libluajit-$(ABIVER).so @@ -77,7 +78,7 @@ LDCONFIG= ldconfig -n SED_PC= sed -e "s|^prefix=.*|prefix=$(PREFIX)|" \ -e "s|^multilib=.*|multilib=$(MULTILIB)|" -FILE_T= luajit +FILE_T= luajit-$(SUFFIX) FILE_A= libluajit.a FILE_SO= libluajit.so FILE_MAN= luajit.1 @@ -115,7 +116,7 @@ install: $(INSTALL_DEP) $(LDCONFIG) $(INSTALL_LIB) && \ $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT1) && \ $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT2) || : - cd etc && $(INSTALL_F) $(FILE_MAN) $(INSTALL_MAN) + cd etc && $(INSTALL_F) $(FILE_MAN) $(INSTALL_MAN)/luajit-$(SUFFIX).1 cd etc && $(SED_PC) $(FILE_PC) > $(FILE_PC).tmp && \ $(INSTALL_F) $(FILE_PC).tmp $(INSTALL_PC) && \ $(RM) $(FILE_PC).tmp Index: LuaJIT-2.0.4/etc/luajit.pc =================================================================== --- LuaJIT-2.0.4.orig/etc/luajit.pc +++ LuaJIT-2.0.4/etc/luajit.pc @@ -10,7 +10,7 @@ multilib=lib exec_prefix=${prefix} libdir=${exec_prefix}/${multilib} libname=luajit-${abiver} -includedir=${prefix}/include/luajit-${majver}.${minver} +includedir=${prefix}/include/luajit-5_1-${majver}.${minver} INSTALL_LMOD=${prefix}/share/lua/${abiver} INSTALL_CMOD=${prefix}/${multilib}/lua/${abiver} Index: LuaJIT-2.0.4/src/luaconf.h =================================================================== --- LuaJIT-2.0.4.orig/src/luaconf.h +++ LuaJIT-2.0.4/src/luaconf.h @@ -37,7 +37,7 @@ #endif #define LUA_LROOT "/usr/local" #define LUA_LUADIR "/lua/5.1/" -#define LUA_LJDIR "/luajit-2.0.4/" +#define LUA_LJDIR "/luajit-5_1-2.0.4/" #ifdef LUA_ROOT #define LUA_JROOT LUA_ROOT
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor