diff options
author | Matti Bickel <mabi@gentoo.org> | 2008-02-17 16:54:21 +0000 |
---|---|---|
committer | Matti Bickel <mabi@gentoo.org> | 2008-02-17 16:54:21 +0000 |
commit | 6c82015bf7ec8b3908c62cded5a5caf62dd39669 (patch) | |
tree | ad3d4fe7505a9e1043427467bf80d67d0ae2725c /dev-lang/lua/files | |
parent | stable x86, bug 210471 (diff) | |
download | historical-6c82015bf7ec8b3908c62cded5a5caf62dd39669.tar.gz historical-6c82015bf7ec8b3908c62cded5a5caf62dd39669.tar.bz2 historical-6c82015bf7ec8b3908c62cded5a5caf62dd39669.zip |
remove old 5.0 version
Package-Manager: portage-2.1.4.1
Diffstat (limited to 'dev-lang/lua/files')
-rw-r--r-- | dev-lang/lua/files/lua-5.0.2-LDFLAGS_and_as-needed.patch | 47 | ||||
-rw-r--r-- | dev-lang/lua/files/lua-5.0.2-pic.patch | 38 | ||||
-rw-r--r-- | dev-lang/lua/files/lua-5.0.3-asneeded.patch | 11 | ||||
-rw-r--r-- | dev-lang/lua/files/lua-5.0.3-destdir.patch | 30 | ||||
-rw-r--r-- | dev-lang/lua/files/lua-5.0.3-dylib.patch | 27 | ||||
-rw-r--r-- | dev-lang/lua/files/lua-5.0.3-ldflags.patch | 35 | ||||
-rw-r--r-- | dev-lang/lua/files/lua-5.0.3-shared.patch | 49 | ||||
-rw-r--r-- | dev-lang/lua/files/lua-ppc-macos-Makefile.patch | 67 |
8 files changed, 0 insertions, 304 deletions
diff --git a/dev-lang/lua/files/lua-5.0.2-LDFLAGS_and_as-needed.patch b/dev-lang/lua/files/lua-5.0.2-LDFLAGS_and_as-needed.patch deleted file mode 100644 index c0bd1378bcdc..000000000000 --- a/dev-lang/lua/files/lua-5.0.2-LDFLAGS_and_as-needed.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- lua-5.0.2/config.orig 2006-05-07 17:22:47.000000000 +0200 -+++ lua-5.0.2/config 2006-05-07 17:25:35.000000000 +0200 -@@ -35,6 +35,9 @@ - # - #MYLDFLAGS= -Wl,-E - # -+# Gentoo addition: this ones will be used for both the binaries and the libs. -+#LDFLAGS= -+# - # On Windows systems. support for dynamic loading is enabled by default. - # To disable this support, uncomment the next line. - # ---- lua-5.0.2/src/lua/Makefile.orig 2006-05-07 17:30:09.000000000 +0200 -+++ lua-5.0.2/src/lua/Makefile 2006-05-07 17:30:32.000000000 +0200 -@@ -13,7 +13,7 @@ - all: $T - - $T: $(OBJS) $(LIB)/liblua.a $(LIB)/liblualib.a -- $(CC) -o $@ $(MYLDFLAGS) $(OBJS) -L$(LIB) -llua -llualib $(EXTRA_LIBS) $(DLLIB) -+ $(CC) -o $@ $(MYLDFLAGS) $(LDFLAGS) $(OBJS) -L$(LIB) -llua -llualib $(EXTRA_LIBS) $(DLLIB) - - $(LIB)/liblua.a: - cd ..; $(MAKE) ---- lua-5.0.2/src/luac/Makefile.orig 2006-05-07 17:37:19.000000000 +0200 -+++ lua-5.0.2/src/luac/Makefile 2006-05-07 17:37:41.000000000 +0200 -@@ -13,7 +13,7 @@ - all: $T - - $T: $(OBJS) $(LIB)/liblua.a $(LIB)/liblualib.a -- $(CC) -o $@ $(MYLDFLAGS) $(OBJS) -L$(LIB) -llua -llualib $(EXTRA_LIBS) $(DLLIB) -+ $(CC) -o $@ $(MYLDFLAGS) $(LDFLAGS) $(OBJS) -L$(LIB) -llua -llualib $(EXTRA_LIBS) $(DLLIB) - - # print.c needs opcode names from lopcodes.c - lopcodes.o: ../lopcodes.c ../lopcodes.h ---- lua-5.0.2/Makefile.orig 2006-05-07 16:50:37.000000000 +0200 -+++ lua-5.0.2/Makefile 2006-05-07 17:29:45.000000000 +0200 -@@ -38,8 +38,8 @@ - - # shared libraries (for Linux) - so: -- gcc -o lib/liblua.so.$V -shared src/*.o -- gcc -o lib/liblualib.so.$V -shared src/lib/*.o -+ $(CC) -shared $(LDFLAGS) src/*.o -o lib/liblua.so.$V -+ $(CC) -shared $(LDFLAGS) src/lib/*.o -L$(LIB) -llua $(DLLIB) $(EXTRA_LIBS) -o lib/liblualib.so.$V - cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so - - # binaries using shared libraries diff --git a/dev-lang/lua/files/lua-5.0.2-pic.patch b/dev-lang/lua/files/lua-5.0.2-pic.patch deleted file mode 100644 index 3fc403bd73ad..000000000000 --- a/dev-lang/lua/files/lua-5.0.2-pic.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff -Naur lua-5.0.2/Makefile lua/Makefile ---- lua-5.0.2/Makefile 2003-04-11 02:34:38.000000000 +0200 -+++ lua/Makefile 2004-03-16 20:28:18.736068272 +0100 -@@ -38,8 +38,8 @@ - - # shared libraries (for Linux) - so: -- ld -o lib/liblua.so.$V -shared src/*.o -- ld -o lib/liblualib.so.$V -shared src/lib/*.o -+ gcc -o lib/liblua.so.$V -shared src/*.o -+ gcc -o lib/liblualib.so.$V -shared src/lib/*.o - cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so - - # binaries using shared libraries -diff -Naur lua-5.0.2/src/lib/Makefile lua/src/lib/Makefile ---- lua-5.0.2/src/lib/Makefile 2003-03-28 13:49:56.000000000 +0100 -+++ lua/src/lib/Makefile 2004-03-16 20:29:24.035141304 +0100 -@@ -4,6 +4,8 @@ - - include $(LUA)/config - -+CFLAGS= $(MYCFLAGS) $(PICFLAGS) $(WARN) $(INCS) $(DEFS) -+ - EXTRA_DEFS= $(POPEN) $(TMPNAM) $(DEGREES) $(LOADLIB) - - OBJS= lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o ltablib.o lstrlib.o loadlib.o -diff -Naur lua-5.0.2/src/Makefile lua/src/Makefile ---- lua-5.0.2/src/Makefile 2002-12-13 13:12:11.000000000 +0100 -+++ lua/src/Makefile 2004-03-16 20:28:52.047004240 +0100 -@@ -4,6 +4,8 @@ - - include $(LUA)/config - -+CFLAGS= $(MYCFLAGS) $(PICFLAGS) $(WARN) $(INCS) $(DEFS) -+ - OBJS= \ - lapi.o \ - lcode.o \ diff --git a/dev-lang/lua/files/lua-5.0.3-asneeded.patch b/dev-lang/lua/files/lua-5.0.3-asneeded.patch deleted file mode 100644 index fa7c3dc8c036..000000000000 --- a/dev-lang/lua/files/lua-5.0.3-asneeded.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- lua-5.0.3/Makefile.old 2006-10-04 15:21:15.116128747 +0200 -+++ lua-5.0.3/Makefile 2006-10-04 15:23:57.340019809 +0200 -@@ -39,7 +39,7 @@ - # shared libraries (for Linux) - so: - $(CC) $(LDFLAGS) -o lib/liblua.so.$V -shared -Wl,-soname,liblua.so.$V src/*.lo -- $(CC) $(LDFLAGS) -o lib/liblualib.so.$V -shared -Wl,-soname,liblualib.so.$V src/lib/*.lo -+ $(CC) $(LDFLAGS) -o lib/liblualib.so.$V -shared -Wl,-soname,liblualib.so.$V src/lib/*.lo lib/liblua.so.$V $(EXTRA_LIBS) $(DLLIB) - cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so - - # binaries using shared libraries diff --git a/dev-lang/lua/files/lua-5.0.3-destdir.patch b/dev-lang/lua/files/lua-5.0.3-destdir.patch deleted file mode 100644 index c95cf4e3e3eb..000000000000 --- a/dev-lang/lua/files/lua-5.0.3-destdir.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- Makefile.old 2006-10-15 19:11:53.684244053 +0200 -+++ Makefile 2006-10-15 19:13:19.637126651 +0200 -@@ -30,11 +30,11 @@ - - # official installation - install: all strip -- mkdir -p $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_MAN) -- $(INSTALL_EXEC) bin/* $(INSTALL_BIN) -- $(INSTALL_DATA) include/*.h $(INSTALL_INC) -- $(INSTALL_DATA) lib/*.a $(INSTALL_LIB) -- $(INSTALL_DATA) doc/*.1 $(INSTALL_MAN) -+ mkdir -p $(DESTDIR)$(INSTALL_BIN) $(DESTDIR)$(INSTALL_INC) $(DESTDIR)$(INSTALL_LIB) $(DESTDIR)$(INSTALL_MAN) -+ $(INSTALL_EXEC) bin/* $(DESTDIR)$(INSTALL_BIN) -+ $(INSTALL_DATA) include/*.h $(DESTDIR)$(INSTALL_INC) -+ $(INSTALL_DATA) lib/*.a $(DESTDIR)$(INSTALL_LIB) -+ $(INSTALL_DATA) doc/*.1 $(DESTDIR)$(INSTALL_MAN) - - # shared libraries (for Linux) - so: -@@ -50,8 +50,8 @@ - - # install shared libraries - soinstall: -- $(INSTALL_EXEC) lib/*.so.* $(INSTALL_LIB) -- cd $(INSTALL_LIB); ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so -+ $(INSTALL_EXEC) lib/*.so.* $(DESTDIR)$(INSTALL_LIB) -+ cd $(DESTDIR)$(INSTALL_LIB); ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so - - # clean shared libraries - soclean: diff --git a/dev-lang/lua/files/lua-5.0.3-dylib.patch b/dev-lang/lua/files/lua-5.0.3-dylib.patch deleted file mode 100644 index 447edb6b26f9..000000000000 --- a/dev-lang/lua/files/lua-5.0.3-dylib.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- Makefile.old 2006-10-07 15:40:26.052127208 +0200 -+++ Makefile 2006-10-07 19:06:55.504062239 +0200 -@@ -42,6 +42,12 @@ - $(CC) $(LDFLAGS) -o lib/liblualib.so.$V -shared -Wl,-soname,liblualib.so.$V src/lib/*.o -L$(LIB) -llua $(EXTRA_LIBS) $(DLLIB) - cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so - -+dylib: -+ $(CC) -dynamiclib -flat_namespace -undefined suppress -o lib/liblua.$V.dylib src/*.lo -install_name $(INSTALL_LIB)/liblua.$V.dylib -compatibility_version $V -current_version $V -+ $(CC) -dynamiclib -flat_namespace -undefined suppress -o lib/liblualib.$V.dylib src/lib/*.lo -install_name $(INSTALL_LIB)/liblualib.$V.dylib -compatibility_version $V -current_version $V -+ cd lib; ln -fs liblua.$V.dylib liblua.dylib; ln -fs liblualib.$V.dylib liblualib.dylib -+ cd lib; ln -fs liblua.$V.dylib liblua.$(V:%.0=%).dylib; ln -fs liblualib.$V.dylib liblualib.$(V:%.0=%).dylib -+ - # binaries using shared libraries - sobin: - rm -f bin/* -@@ -53,6 +59,11 @@ - $(INSTALL_EXEC) lib/*.so.* $(INSTALL_LIB) - cd $(INSTALL_LIB); ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so - -+dylibinstall: -+ $(INSTALL_EXEC) lib/*.dylib $(DESTDIR)$(INSTALL_LIB) -+ cd $(DESTDIR)$(INSTALL_LIB); ln -fs liblua.$V.dylib liblua.dylib; ln -fs liblualib.$V.dylib liblualib.dylib -+ cd $(DESTDIR)$(INSTALL_LIB); ln -fs liblua.$V.dylib liblua.$(V:%.0=%).dylib; ln -fs liblualib.$V.dylib liblualib.$(V:%.0=%).dylib -+ - # clean shared libraries - soclean: - rm -f lib/*.so* bin/* diff --git a/dev-lang/lua/files/lua-5.0.3-ldflags.patch b/dev-lang/lua/files/lua-5.0.3-ldflags.patch deleted file mode 100644 index f01b0ff1b43a..000000000000 --- a/dev-lang/lua/files/lua-5.0.3-ldflags.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- lua-5.0.3/Makefile.old 2006-10-04 13:23:13.253194162 +0200 -+++ lua-5.0.3/Makefile 2006-10-04 13:23:02.727331000 +0200 -@@ -38,8 +38,8 @@ - - # shared libraries (for Linux) - so: -- $(CC) -o lib/liblua.so.$V -shared -Wl,-soname,liblua.so.$V src/*.lo -- $(CC) -o lib/liblualib.so.$V -shared -Wl,-soname,liblualib.so.$V src/lib/*.lo -+ $(CC) $(LDFLAGS) -o lib/liblua.so.$V -shared -Wl,-soname,liblua.so.$V src/*.lo -+ $(CC) $(LDFLAGS) -o lib/liblualib.so.$V -shared -Wl,-soname,liblualib.so.$V src/lib/*.lo - cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so - - # binaries using shared libraries ---- lua-5.0.3/src/lua/Makefile.old 2006-10-04 13:07:11.250700357 +0200 -+++ lua-5.0.3/src/lua/Makefile 2006-10-04 13:22:29.323765252 +0200 -@@ -13,7 +13,7 @@ - all: $T - - $T: $(OBJS) $(LIB)/liblua.a $(LIB)/liblualib.a -- $(CC) -o $@ $(MYLDFLAGS) $(OBJS) -L$(LIB) -llua -llualib $(EXTRA_LIBS) $(DLLIB) -+ $(CC) -o $@ $(MYLDFLAGS) $(LDFLAGS) $(OBJS) -L$(LIB) -llua -llualib $(EXTRA_LIBS) $(DLLIB) - - $(LIB)/liblua.a: - cd ..; $(MAKE) ---- lua-5.0.3/src/luac/Makefile.old 2006-10-04 13:07:28.039482100 +0200 -+++ lua-5.0.3/src/luac/Makefile 2006-10-04 13:22:45.059560684 +0200 -@@ -13,7 +13,7 @@ - all: $T - - $T: $(OBJS) $(LIB)/liblua.a $(LIB)/liblualib.a -- $(CC) -o $@ $(MYLDFLAGS) $(OBJS) -L$(LIB) -llua -llualib $(EXTRA_LIBS) $(DLLIB) -+ $(CC) -o $@ $(MYLDFLAGS) $(LDFLAGS) $(OBJS) -L$(LIB) -llua -llualib $(EXTRA_LIBS) $(DLLIB) - - # print.c needs opcode names from lopcodes.c - lopcodes.o: ../lopcodes.c ../lopcodes.h diff --git a/dev-lang/lua/files/lua-5.0.3-shared.patch b/dev-lang/lua/files/lua-5.0.3-shared.patch deleted file mode 100644 index a516afd3be94..000000000000 --- a/dev-lang/lua/files/lua-5.0.3-shared.patch +++ /dev/null @@ -1,49 +0,0 @@ ---- lua-5.0.3/Makefile.old 2006-10-04 12:03:57.117024736 +0200 -+++ lua-5.0.3/Makefile 2006-10-04 12:05:18.295969396 +0200 -@@ -38,8 +38,8 @@ - - # shared libraries (for Linux) - so: -- ld -o lib/liblua.so.$V -shared src/*.o -- ld -o lib/liblualib.so.$V -shared src/lib/*.o -+ $(CC) -o lib/liblua.so.$V -shared -Wl,-soname,liblua.so.$V src/*.lo -+ $(CC) -o lib/liblualib.so.$V -shared -Wl,-soname,liblualib.so.$V src/lib/*.lo - cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so - - # binaries using shared libraries ---- lua-5.0.3/src/Makefile.old 2006-10-08 18:11:47.797976922 +0200 -+++ lua-5.0.3/src/Makefile 2006-10-08 19:31:46.505995222 +0200 -@@ -67,9 +67,14 @@ - lvm.h \ - lzio.h - -+SOBJS=$(OBJS:.o=.lo) -+ -+%.lo: %.c -+ $(CC) $(CFLAGS) -fPIC -DPIC -o $@ -c $< -+ - T= $(LIB)/liblua.a - --all: $T -+all: $T $(SOBJS) - - $T: $(OBJS) - $(AR) $@ $(OBJS) ---- lua-5.0.3/src/lib/Makefile.old 2006-10-08 18:15:26.441697217 +0200 -+++ lua-5.0.3/src/lib/Makefile 2006-10-08 19:32:13.781586082 +0200 -@@ -9,9 +9,14 @@ - OBJS= lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o ltablib.o lstrlib.o loadlib.o - SRCS= lauxlib.c lbaselib.c ldblib.c liolib.c lmathlib.c ltablib.c lstrlib.c loadlib.c - -+SOBJS=$(OBJS:.o=.lo) -+ -+%.lo: %.c -+ $(CC) $(CFLAGS) -fPIC -DPIC -o $@ -c $< -+ - T= $(LIB)/liblualib.a - --all: $T -+all: $T $(SOBJS) - - $T: $(OBJS) - $(AR) $@ $(OBJS) diff --git a/dev-lang/lua/files/lua-ppc-macos-Makefile.patch b/dev-lang/lua/files/lua-ppc-macos-Makefile.patch deleted file mode 100644 index c97a2a7aa5af..000000000000 --- a/dev-lang/lua/files/lua-ppc-macos-Makefile.patch +++ /dev/null @@ -1,67 +0,0 @@ -diff -Naur lua-5.0.2/Makefile lua-5.0.2-new/Makefile ---- lua-5.0.2/Makefile Sat Feb 5 14:33:58 2005 -+++ lua-5.0.2-new/Makefile Sat Feb 5 14:36:07 2005 -@@ -30,11 +33,11 @@ - - # official installation - install: all strip -- mkdir -p $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_MAN) -- $(INSTALL_EXEC) bin/* $(INSTALL_BIN) -- $(INSTALL_DATA) include/*.h $(INSTALL_INC) -- $(INSTALL_DATA) lib/*.a $(INSTALL_LIB) -- $(INSTALL_DATA) doc/*.1 $(INSTALL_MAN) -+ mkdir -p $(DESTDIR)$(INSTALL_BIN) $(DESTDIR)$(INSTALL_INC) $(DESTDIR)$(INSTALL_LIB) $(DESTDIR)$(INSTALL_MAN) -+ $(INSTALL_EXEC) bin/* $(DESTDIR)$(INSTALL_BIN) -+ $(INSTALL_DATA) include/*.h $(DESTDIR)$(INSTALL_INC) -+ $(INSTALL_DATA) lib/*.a $(DESTDIR)$(INSTALL_LIB) -+ $(INSTALL_DATA) doc/*.1 $(DESTDIR)$(INSTALL_MAN) - - # shared libraries (for Linux) - so: -@@ -42,21 +45,35 @@ - gcc -o lib/liblualib.so.$V -shared src/lib/*.o - cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so - -+# shared libraries (for Darwin) -+dylib: -+ $(CC) -dynamiclib -flat_namespace -undefined suppress -o lib/liblua.$V.$@ src/*.o -install_name $(INSTALL_LIB)/liblua.$V.$@ -compatibility_version $V -current_version $V -+ $(CC) -dynamiclib -flat_namespace -undefined suppress -o lib/liblualib.$V.$@ src/lib/*.o -install_name $(INSTALL_LIB)/liblualib.$V.$@ -compatibility_version $V -current_version $V -+ cd lib; ln -fs liblua.$V.$@ liblua.$@; ln -fs liblualib.$V.$@ liblualib.$@; ln -fs liblua.$V.$@ liblua.$(V:%.0=%).$@; ln -fs liblualib.$V.$@ liblualib.$(V:%.0=%).$@ -+ - # binaries using shared libraries --sobin: -+sobin dylibbin: - rm -f bin/* - cd src/lua; $(MAKE) - cd src/luac; $(MAKE) - - # install shared libraries - soinstall: -- $(INSTALL_EXEC) lib/*.so.* $(INSTALL_LIB) -- cd $(INSTALL_LIB); ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so -+ $(INSTALL_EXEC) lib/*.so.* $(DESTDIR)$(INSTALL_LIB) -+ cd $(DESTDIR)$(INSTALL_LIB); ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so -+ -+dylibinstall: -+ $(INSTALL_EXEC) lib/*.dylib $(DESTDIR)$(INSTALL_LIB)/ -+ cd $(DESTDIR)$(INSTALL_LIB)/; ln -fs liblua.$V.dylib liblua.dylib; ln -fs liblualib.$V.dylib liblualib.dylib -+ cd $(DESTDIR)$(INSTALL_LIB)/; ln -fs liblua.$V.dylib liblua.$(V:%.0=%).dylib; ln -fs liblualib.$V.dylib liblualib.$(V:%.0=%).dylib - - # clean shared libraries - soclean: - rm -f lib/*.so* bin/* - -+dylibclean: -+ rm -f lib/*.dylib bin/* -+ - # echo config parameters - echo: - @echo "" -@@ -77,6 +94,7 @@ - @echo "AR = $(AR)" - @echo "RANLIB = $(RANLIB)" - @echo "STRIP = $(STRIP)" -+ @echo "DESTDIR = $(DESTDIR)" - @echo "INSTALL_ROOT = $(INSTALL_ROOT)" - @echo "INSTALL_BIN = $(INSTALL_BIN)" - @echo "INSTALL_INC = $(INSTALL_INC)" |