Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 260008 | Differences between
and this patch

Collapse All | Expand All

(-)files/lua-5.1-make-r1.patch (-2 / +8 lines)
Lines 24-29 Link Here
24
+	cd src; $(LIBTOOL) --mode=install $(INSTALL_DATA) liblua.la $(INSTALL_LIB)
24
+	cd src; $(LIBTOOL) --mode=install $(INSTALL_DATA) liblua.la $(INSTALL_LIB)
25
--- lua-5.1.1.orig/src/Makefile	2006-03-22 01:41:49.000000000 +0100
25
--- lua-5.1.1.orig/src/Makefile	2006-03-22 01:41:49.000000000 +0100
26
+++ lua-5.1.1/src/Makefile	2006-11-16 02:10:27.000000000 +0100
26
+++ lua-5.1.1/src/Makefile	2006-11-16 02:10:27.000000000 +0100
27
@@ -54,1 +54,1 @@
28
-$(LUA_T): $(LUA_O) $(LUA_A)
29
+origin$(LUA_T): $(LUA_O) $(LUA_A)
30
@@ -57,1 +57,1 @@
31
-$(LUAC_T): $(LUAC_O) $(LUA_A)
32
+origin$(LUAC_T): $(LUAC_O) $(LUA_A)
27
@@ -176,3 +176,33 @@
33
@@ -176,3 +176,33 @@
28
   ltm.h lzio.h lmem.h lopcodes.h lundump.h
34
   ltm.h lzio.h lmem.h lopcodes.h lundump.h
29
 
35
 
Lines 46-52 Link Here
46
+            -rpath $(RPATH) $(LDFLAGS) -o $(LIB_NAME) $(LIB_OBJS) $(LIB_LIBS)
52
+            -rpath $(RPATH) $(LDFLAGS) -o $(LIB_NAME) $(LIB_OBJS) $(LIB_LIBS)
47
+
53
+
48
+$(LUA_T): $(LUA_O:.o=.lo) $(LIB_NAME)
54
+$(LUA_T): $(LUA_O:.o=.lo) $(LIB_NAME)
49
+	$(LIBTOOL) --mode=link $(CC) -export-dynamic $(LDFLAGS) -o $@ $(LUA_O::.o=.lo) $(LUA_LIBS) -llua
55
+	$(LIBTOOL) --mode=link $(CC) -export-dynamic $(LDFLAGS) -o $@ $(LUA_O:.o=.lo) $(LIB_NAME) $(LUA_LIBS)
50
+
56
+
51
+lua_test: $(LUA_O:.o=.lo) $(LIB_NAME)
57
+lua_test: $(LUA_O:.o=.lo) $(LIB_NAME)
52
+	$(LIBTOOL) --mode=link $(CC) -static -export-dynamic $(LDFLAGS) -o $@ $(LUA_O:.o=.lo) $(LIB_NAME) $(LUA_LIBS)
58
+	$(LIBTOOL) --mode=link $(CC) -static -export-dynamic $(LDFLAGS) -o $@ $(LUA_O:.o=.lo) $(LIB_NAME) $(LUA_LIBS)
Lines 57-60 Link Here
57
+gentoo_clean:
63
+gentoo_clean:
58
+	$(LIBTOOL) --mode=clean $(RM) $(ALL_O:.o=.lo) $(LIB_NAME) lua luac
64
+	$(LIBTOOL) --mode=clean $(RM) $(ALL_O:.o=.lo) $(LIB_NAME) lua luac
59
+
65
+
60
+gentoo_all: $(LIB_NAME) $(LIB_NAME:.la=.a) $(LUA_T) lua_test $(LUAC_T)
66
+gentoo_all: $(LIB_NAME) $(LUA_T) lua_test $(LUAC_T)
(-)files/lua-5.1-make_static-r1.patch (-1 lines)
Lines 1-12 Link Here
1
diff -ru lua-5.1.1.orig/src/Makefile lua-5.1.1/src/Makefile

Return to bug 260008