summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2008-02-17 16:54:21 +0000
committerMatti Bickel <mabi@gentoo.org>2008-02-17 16:54:21 +0000
commiteeb312428ba0222787668efba7f0404dc8feca61 (patch)
tree075a12dfa722b12a42e246722f71e5cd652f6e55 /dev-lang
parentstable x86, bug 210471 (diff)
downloadgentoo-2-eeb312428ba0222787668efba7f0404dc8feca61.tar.gz
gentoo-2-eeb312428ba0222787668efba7f0404dc8feca61.tar.bz2
gentoo-2-eeb312428ba0222787668efba7f0404dc8feca61.zip
remove old 5.0 version
(Portage version: 2.1.4.1)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/lua/ChangeLog10
-rw-r--r--dev-lang/lua/files/lua-5.0.2-LDFLAGS_and_as-needed.patch47
-rw-r--r--dev-lang/lua/files/lua-5.0.2-pic.patch38
-rw-r--r--dev-lang/lua/files/lua-5.0.3-asneeded.patch11
-rw-r--r--dev-lang/lua/files/lua-5.0.3-destdir.patch30
-rw-r--r--dev-lang/lua/files/lua-5.0.3-dylib.patch27
-rw-r--r--dev-lang/lua/files/lua-5.0.3-ldflags.patch35
-rw-r--r--dev-lang/lua/files/lua-5.0.3-shared.patch49
-rw-r--r--dev-lang/lua/files/lua-ppc-macos-Makefile.patch67
-rw-r--r--dev-lang/lua/lua-5.0.2.ebuild83
-rw-r--r--dev-lang/lua/lua-5.0.3.ebuild103
11 files changed, 9 insertions, 491 deletions
diff --git a/dev-lang/lua/ChangeLog b/dev-lang/lua/ChangeLog
index 35dbb9a50acb..f7fd641b6f5b 100644
--- a/dev-lang/lua/ChangeLog
+++ b/dev-lang/lua/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-lang/lua
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.88 2008/02/17 16:48:40 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.89 2008/02/17 16:54:20 mabi Exp $
+
+ 17 Feb 2008; Matti Bickel <mabi@gentoo.org>
+ -files/lua-5.0.2-LDFLAGS_and_as-needed.patch, -files/lua-5.0.2-pic.patch,
+ -files/lua-5.0.3-asneeded.patch, -files/lua-5.0.3-destdir.patch,
+ -files/lua-5.0.3-dylib.patch, -files/lua-5.0.3-ldflags.patch,
+ -files/lua-5.0.3-shared.patch, -files/lua-ppc-macos-Makefile.patch,
+ -lua-5.0.2.ebuild, -lua-5.0.3.ebuild:
+ remove old 5.0 version
*lua-5.1.3-r1 (17 Feb 2008)
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)"
diff --git a/dev-lang/lua/lua-5.0.2.ebuild b/dev-lang/lua/lua-5.0.2.ebuild
deleted file mode 100644
index b3b22550a129..000000000000
--- a/dev-lang/lua/lua-5.0.2.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.0.2.ebuild,v 1.26 2008/01/29 21:24:44 grobian Exp $
-
-inherit eutils portability
-
-DESCRIPTION="A powerful light-weight programming language designed for extending applications"
-HOMEPAGE="http://www.lua.org/"
-SRC_URI="http://www.lua.org/ftp/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
-IUSE="readline"
-
-DEPEND=">=sys-apps/sed-4
- sys-apps/findutils"
-
-src_unpack() {
- unpack ${A}
-
- epatch ${FILESDIR}/lua-${PV}-pic.patch
- #epatch ${FILESDIR}/lua-${PV}-LDFLAGS_and_as-needed.patch
-
- cd ${S}
-
- sed -i config \
- -e 's:^#\(LOADLIB= -DUSE_DLOPEN=1\):\1:' \
- -e 's:^#\(DLLIB= -ldl\):\1:' \
- -e 's:^#\(POPEN= -DUSE_POPEN=1\)$:\1:' \
- -e "s:^\(MYCFLAGS= \)-O2:\1${CFLAGS}:" \
- -e 's:^\(INSTALL_ROOT= \)/usr/local:\1/usr:' \
- -e 's:^\(INSTALL_MAN= $(INSTALL_ROOT)\)/man/man1:\1/share/man/man1:'
-
- sed -i doc/readme.html \
- -e 's:\(/README\)\("\):\1.gz\2:g'
-
- if use readline ; then
- sed -i config \
- -e "s:^#\(USERCONF=-DLUA_USERCONFIG='\"\$(LUA)/etc/saconfig.c\"' -DUSE_READLINE\):\1:" \
- -e 's:^#\(EXTRA_LIBS= -lm -ldl -lreadline\) # \(-lhistory -lcurses -lncurses\):\1 \2:'
- fi
-
- cat >etc/lua.pc <<EOF
-prefix=/usr
-exec_prefix=\${prefix}
-includedir=\${prefix}/include
-libdir=\${exec_prefix}/$(get_libdir)
-interpreter=\${exec_prefix}/bin/lua
-compiler=\${exec_prefix}/bin/luac
-
-Name: Lua
-Description: An extension programming language
-Version: ${PV}
-Cflags: -I\${includedir}
-Libs: -L\${libdir} -llua -llualib -ldl -lm
-EOF
-}
-
-src_compile() {
- export PICFLAGS=-fPIC
- emake || die "emake failed"
- emake so || die "emake so failed"
-}
-
-src_install() {
- make DESTDIR=${D} install soinstall || die "make install soinstall failed"
-
- dodoc HISTORY UPDATE
- dohtml doc/*.html doc/*.gif
-
- for i in `find . -name README -exec dirname '{}' \;`; do
- docinto ${i#.}
- dodoc ${i}/README
- done
-
- insinto /usr/share/lua
- doins etc/compat.lua
- insinto /usr/share/pixmaps
- doins etc/lua.xpm
- insinto /usr/$(get_libdir)/pkgconfig
- doins etc/lua.pc
-}
diff --git a/dev-lang/lua/lua-5.0.3.ebuild b/dev-lang/lua/lua-5.0.3.ebuild
deleted file mode 100644
index 40918cb0f109..000000000000
--- a/dev-lang/lua/lua-5.0.3.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.0.3.ebuild,v 1.8 2008/01/29 21:24:44 grobian Exp $
-
-inherit eutils portability
-
-DESCRIPTION="A powerful light-weight programming language designed for extending applications"
-HOMEPAGE="http://www.lua.org/"
-SRC_URI="http://www.lua.org/ftp/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="readline"
-
-RDEPEND="readline? ( sys-libs/readline )"
-DEPEND="${RDEPEND}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${P}-destdir.patch
- epatch "${FILESDIR}"/${P}-dylib.patch
- epatch "${FILESDIR}"/${P}-shared.patch
- epatch "${FILESDIR}"/${P}-ldflags.patch
- epatch "${FILESDIR}"/${P}-asneeded.patch
-
- sed -i config \
- -e 's:^#\(LOADLIB= -DUSE_DLOPEN=1\):\1:' \
- -e 's:^#\(POPEN= -DUSE_POPEN=1\)$:\1:' \
- -e "s:^\(MYCFLAGS= \)-O2:\1${CFLAGS}:" \
- -e 's:^\(INSTALL_ROOT= \)/usr/local:\1/usr:' \
- -e "s:^\(INSTALL_LIB= \$(INSTALL_ROOT)/\)lib:\1$(get_libdir):" \
- -e 's:^\(INSTALL_MAN= $(INSTALL_ROOT)\)/man/man1:\1/share/man/man1:'
-
- sed -i -e 's/^\(install: all\) strip/\1/' Makefile
-
- [[ ${ELIBC} != *BSD ]] && sed -i -e 's:^#\(DLLIB= -ldl\):\1:' config
-
- sed -i -e 's:\(/README\)\("\):\1.gz\2:g' doc/readme.html
-
- if use readline ; then
- sed -i config \
- -e "s:^#\(USERCONF=-DLUA_USERCONFIG='\"\$(LUA)/etc/saconfig.c\"' -DUSE_READLINE\):\1:" \
- -e 's:^\(EXTRA_LIBS= -lm\)$:\1 -lreadline:'
- fi
-
- cat >etc/lua.pc <<EOF
-prefix=/usr
-exec_prefix=\${prefix}
-includedir=\${prefix}/include
-libdir=\${exec_prefix}/$(get_libdir)
-interpreter=\${exec_prefix}/bin/lua
-compiler=\${exec_prefix}/bin/luac
-
-Name: Lua
-Description: An extension programming language
-Version: ${PV}
-Cflags: -I\${includedir}
-Libs: -L\${libdir} -llua -llualib -lm $(dlopen_lib)
-EOF
-}
-
-src_compile() {
- emake || die "emake failed"
- emake so || die "emake so failed"
- mv bin/lua test/lua.static
- emake sobin || die "emake sobin failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install soinstall || die "make install soinstall failed"
-
- dodoc HISTORY UPDATE
- dohtml doc/*.html doc/*.gif
-
- for i in `find . -name README -exec dirname '{}' \;`; do
- docinto ${i#.}
- dodoc ${i}/README
- done
-
- insinto /usr/share/lua
- doins etc/compat.lua
- insinto /usr/share/pixmaps
- doins etc/lua.xpm
- insinto /usr/$(get_libdir)/pkgconfig
- doins etc/lua.pc
-}
-
-src_test() {
- local positive="bisect cf echo env factorial fib fibfor hello printf sieve sort trace-calls"
- local negative="readonly undefined"
- local test
-
- for test in ${positive}; do
- test/lua.static test/${test}.lua || die "test $test failed"
- done
-
- for test in ${negative}; do
- test/lua.static test/${test}.lua && die "test $test failed"
- done
-}