Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 671278 Details for
Bug 754318
dev-lang/lua: bump to 5.4.1 (SLOT=5.4) and 5.3.6 (SLOT=5.3)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
lua-5.4-make-r1.patch
lua-5.4-make-r1.patch (text/plain), 2.55 KB, created by
Marek Szuba
on 2020-11-14 00:05:13 UTC
(
hide
)
Description:
lua-5.4-make-r1.patch
Filename:
MIME Type:
Creator:
Marek Szuba
Created:
2020-11-14 00:05:13 UTC
Size:
2.55 KB
patch
obsolete
>--- a/Makefile >+++ b/Makefile >@@ -12,7 +12,7 @@ > # LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h. > INSTALL_TOP= /usr/local > INSTALL_BIN= $(INSTALL_TOP)/bin >-INSTALL_INC= $(INSTALL_TOP)/include >+INSTALL_INC= $(INSTALL_TOP)/include/lua$V > INSTALL_LIB= $(INSTALL_TOP)/lib > INSTALL_MAN= $(INSTALL_TOP)/man/man1 > INSTALL_LMOD= $(INSTALL_TOP)/share/lua/$V >@@ -104,3 +104,18 @@ > .PHONY: all $(PLATS) help test clean install uninstall local dummy echo pc > > # (end of Makefile) >+ >+# Use libtool for binary installs, etc. >+ >+export V >+export LIBTOOL = $(BROOT)/usr/bin/libtool --quiet --tag=CC >+# See libtool manual about how to set this >+ >+gentoo_clean: >+ cd src; $(MAKE) $@ >+ >+gentoo_install: >+ mkdir -p $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) >+ cd src; $(LIBTOOL) --mode=install $(INSTALL_EXEC) lua$V luac$V $(INSTALL_BIN) >+ cd src; $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC) >+ cd src; $(LIBTOOL) --mode=install $(INSTALL_DATA) liblua$V.la $(INSTALL_LIB) >--- a/src/Makefile >+++ b/src/Makefile >@@ -37,10 +37,10 @@ > LIB_O= lauxlib.o lbaselib.o lcorolib.o ldblib.o liolib.o lmathlib.o loadlib.o loslib.o lstrlib.o ltablib.o lutf8lib.o linit.o > BASE_O= $(CORE_O) $(LIB_O) $(MYOBJS) > >-LUA_T= lua >+LUA_T= lua$V > LUA_O= lua.o > >-LUAC_T= luac >+LUAC_T= luac$V > LUAC_O= luac.o > > ALL_O= $(BASE_O) $(LUA_O) $(LUAC_O) >@@ -60,10 +60,10 @@ > $(AR) $@ $(BASE_O) > $(RANLIB) $@ > >-$(LUA_T): $(LUA_O) $(LUA_A) >+origin$(LUA_T): $(LUA_O) $(LUA_A) > $(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS) > >-$(LUAC_T): $(LUAC_O) $(LUA_A) >+origin$(LUAC_T): $(LUAC_O) $(LUA_A) > $(CC) -o $@ $(LDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS) > > test: >@@ -218,3 +218,30 @@ > lobject.h ltm.h lzio.h > > # (end of Makefile) >+ >+export LIBTOOL = $(BROOT)/usr/bin/libtool --quiet --tag=CC >+export LIB_VERSION = 6:1:1 >+ >+# The following rules use libtool for compiling and linking in order to >+# provide shared library support. >+ >+LIB_NAME = liblua$V.la >+LIB_OBJS = $(CORE_O:.o=.lo) $(LIB_O:.o=.lo) >+ >+%.lo %.o: %.c >+ $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $< >+ >+$(LIB_NAME): $(LIB_OBJS) >+ $(LIBTOOL) --mode=link $(CC) -version-info $(LIB_VERSION) \ >+ -rpath $(RPATH) $(LDFLAGS) -o $(LIB_NAME) $(LIB_OBJS) $(LIB_LIBS) >+ >+$(LUA_T): $(LUA_O:.o=.lo) $(LIB_NAME) >+ $(LIBTOOL) --mode=link $(CC) -export-dynamic $(LDFLAGS) -o $@ $(LUA_O:.o=.lo) $(LIB_NAME) $(LUA_LIBS) >+ >+$(LUAC_T): $(LUAC_O:.o=.lo) $(LIB_NAME) >+ $(LIBTOOL) --mode=link $(CC) -static $(LDFLAGS) -o $@ $(LUAC_O:.o=.lo) $(LIB_NAME) >+ >+gentoo_clean: >+ $(LIBTOOL) --mode=clean $(RM) $(ALL_O:.o=.lo) $(LIB_NAME) lua$V luac$V >+ >+gentoo_all: $(LIB_NAME) $(LUA_T) $(LUAC_T)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 754318
:
671275
| 671278 |
671281
|
671284