summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@gentoo.org>2006-10-16 11:26:53 +0000
committerEmanuele Giaquinta <exg@gentoo.org>2006-10-16 11:26:53 +0000
commitbe282eb236517f28b2b63c0eefa0505e2bcfe968 (patch)
tree1668a73b7a9f5029a43f514cab99d2ea7b94ff2e /dev-lang/lua/lua-5.0.3.ebuild
parentchange the openoffice mask to <2.0.4 (diff)
downloadgentoo-2-be282eb236517f28b2b63c0eefa0505e2bcfe968.tar.gz
gentoo-2-be282eb236517f28b2b63c0eefa0505e2bcfe968.tar.bz2
gentoo-2-be282eb236517f28b2b63c0eefa0505e2bcfe968.zip
Add patch for ppc-macos. Cleanup.
(Portage version: 2.1.2_pre3-r1)
Diffstat (limited to 'dev-lang/lua/lua-5.0.3.ebuild')
-rw-r--r--dev-lang/lua/lua-5.0.3.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-lang/lua/lua-5.0.3.ebuild b/dev-lang/lua/lua-5.0.3.ebuild
index e52d31d8e448..cca40aa2cc95 100644
--- a/dev-lang/lua/lua-5.0.3.ebuild
+++ b/dev-lang/lua/lua-5.0.3.ebuild
@@ -1,6 +1,6 @@
# 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.4 2006/10/15 15:54:10 exg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.0.3.ebuild,v 1.5 2006/10/16 11:26:53 exg Exp $
inherit eutils portability
@@ -10,7 +10,7 @@ SRC_URI="http://www.lua.org/ftp/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd"
IUSE="readline"
RDEPEND="readline? ( sys-libs/readline )"
@@ -20,6 +20,8 @@ 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
@@ -28,7 +30,7 @@ src_unpack() {
-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$(DESTDIR)/usr:' \
+ -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:'