summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2006-11-21 14:47:10 +0000
committerMatti Bickel <mabi@gentoo.org>2006-11-21 14:47:10 +0000
commit95a5623fdf4a2f0bca17644e7b41dd93afea4b8f (patch)
tree218a7ff7eadc40521ca7a7807e6746dd37b30f03 /dev-lang/lua/files
parentAdded myself as co-maintainer. (diff)
downloadgentoo-2-95a5623fdf4a2f0bca17644e7b41dd93afea4b8f.tar.gz
gentoo-2-95a5623fdf4a2f0bca17644e7b41dd93afea4b8f.tar.bz2
gentoo-2-95a5623fdf4a2f0bca17644e7b41dd93afea4b8f.zip
Added static useflag
(Portage version: 2.1.1-r2)
Diffstat (limited to 'dev-lang/lua/files')
-rw-r--r--dev-lang/lua/files/lua-5.1.1-make.patch2
-rw-r--r--dev-lang/lua/files/lua-5.1.1-make_static.patch12
2 files changed, 13 insertions, 1 deletions
diff --git a/dev-lang/lua/files/lua-5.1.1-make.patch b/dev-lang/lua/files/lua-5.1.1-make.patch
index 7522e56bb08c..3dc7aee59a7e 100644
--- a/dev-lang/lua/files/lua-5.1.1-make.patch
+++ b/dev-lang/lua/files/lua-5.1.1-make.patch
@@ -63,7 +63,7 @@
+ -rpath $(RPATH) -o $(LIB_NAME) $(LIB_OBJS) $(LIB_LIBS)
+
+lua-$(V): $(LUA_O) $(LIB_NAME)
-+ $(LIBTOOL) --mode=link $(CC) -static -Wl,-E -o $@ $(LUA_O) $(LIB_NAME) $(LUA_LIBS)
++ $(LIBTOOL) --mode=link $(CC) -Wl,-E -o $@ $(LUA_O) $(LUA_LIBS) -llua
+
+luac-$(V): $(LUAC_O) $(LIB_NAME)
+ $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LUAC_O) $(LIB_NAME)
diff --git a/dev-lang/lua/files/lua-5.1.1-make_static.patch b/dev-lang/lua/files/lua-5.1.1-make_static.patch
new file mode 100644
index 000000000000..b25cb5c89c95
--- /dev/null
+++ b/dev-lang/lua/files/lua-5.1.1-make_static.patch
@@ -0,0 +1,12 @@
+diff -ru lua-5.1.1.orig/src/Makefile lua-5.1.1/src/Makefile
+--- lua-5.1.1.orig/src/Makefile 2006-11-21 07:19:31 +0000
++++ lua-5.1.1/src/Makefile 2006-11-21 07:19:52 +0000
+@@ -196,7 +196,7 @@
+ -rpath $(RPATH) -o $(LIB_NAME) $(LIB_OBJS) $(LIB_LIBS)
+
+ lua-$(V): $(LUA_O) $(LIB_NAME)
+- $(LIBTOOL) --mode=link $(CC) -Wl,-E -o $@ $(LUA_O) $(LUA_LIBS) -llua
++ $(LIBTOOL) --mode=link $(CC) -static -Wl,-E -o $@ $(LUA_O) $(LIB_NAME) $(LUA_LIBS)
+
+ luac-$(V): $(LUAC_O) $(LIB_NAME)
+ $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LUAC_O) $(LIB_NAME)