Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 143338 Details for
Bug 209883
dev-lang/lua-5.1.3: version bump.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
lua-5.1.3-make.patch (text/plain), 2.23 KB, created by
Polarina
on 2008-02-12 17:51:26 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Polarina
Created:
2008-02-12 17:51:26 UTC
Size:
2.23 KB
patch
obsolete
>diff -rdu lua-5.1.3.orig/Makefile lua-5.1.3/Makefile >--- lua-5.1.3.orig/Makefile 2008-01-17 17:53:37.000000000 +0000 >+++ lua-5.1.3/Makefile 2008-02-12 15:13:48.000000000 +0000 >@@ -118,3 +118,23 @@ > .PHONY: all $(PLATS) clean test install local none dummy echo pecho lecho > > # (end of Makefile) >+ >+# Use libtool for binary installs, etc. >+ >+export V >+export LIBTOOL = libtool --quiet --tag=CC >+# See libtool manual about how to set this >+ >+gentoo_clean: >+ cd src; $(MAKE) $@ >+ >+gentoo_test: gentoo_linux >+ test/lua.static test/hello.lua >+ >+gentoo_install: >+ mkdir -p $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_MAN) >+ cd src; $(LIBTOOL) --mode=install $(INSTALL_EXEC) lua luac $(INSTALL_BIN) >+ cd src; $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC) >+ cd src; $(LIBTOOL) --mode=install $(INSTALL_DATA) liblua.la $(INSTALL_LIB) >+ cd src; $(LIBTOOL) --mode=install $(INSTALL_DATA) liblua.a $(INSTALL_LIB) >+ >diff -rdu lua-5.1.3.orig/src/Makefile lua-5.1.3/src/Makefile >--- lua-5.1.3.orig/src/Makefile 2008-01-19 19:37:58.000000000 +0000 >+++ lua-5.1.3/src/Makefile 2008-02-12 15:22:43.000000000 +0000 >@@ -180,3 +180,37 @@ > ltm.h lzio.h lmem.h lopcodes.h lundump.h > > # (end of Makefile) >+ >+export LIBTOOL = libtool --quiet --tag=CC >+export LIB_VERSION = 6:3:1 >+ >+# The following rules use libtool for compiling and linking in order to >+# provide shared library support. >+ >+LIB_NAME = liblua.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) -o $(LIB_NAME) $(LIB_OBJS) $(LIB_LIBS) >+ >+$(LIB_NAME:.la=.a): $(LIB_OBJS) >+ $(LIBTOOL) --mode=link $(CC) -static -o $(LIB_NAME:.la=.a) $(LIB_OBJS) >+ >+$(LUA_T): $(LUA_O) $(LIB_NAME) >+ $(LIBTOOL) --mode=link $(CC) -Wl,-E -o $@ $(LUA_O) $(LUA_LIBS) -llua >+ >+lua_test: $(LUA_O) $(LIB_NAME) >+ $(LIBTOOL) --mode=link $(CC) -static -Wl,-E -o $@ $(LUA_O) $(LIB_NAME) $(LUA_LIBS) >+ >+$(LUAC_T): $(LUAC_O) $(LIB_NAME) >+ $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LUAC_O) $(LIB_NAME) >+ >+gentoo_clean: >+ $(LIBTOOL) --mode=clean $(RM) $(ALL_O:.o=.lo) $(LIB_NAME) lua luac >+ >+gentoo_all: $(LIB_NAME) $(LIB_NAME:.la=.a) $(LUA_T) lua_test $(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 209883
:
143332
|
143333
|
143335
|
143336
| 143338 |
143339
|
143341
|
143343