diff options
author | Michael Sterrett <msterret@gentoo.org> | 2003-09-05 11:45:13 +0000 |
---|---|---|
committer | Michael Sterrett <msterret@gentoo.org> | 2003-09-05 11:45:13 +0000 |
commit | 71deda2aa8e22285bfba66f36b995df4c1121137 (patch) | |
tree | e9ca34847e5fb89f53d4141fb445da7b5576ee8f /dev-lang/lua | |
parent | Marked stable for sparc. (diff) | |
download | gentoo-2-71deda2aa8e22285bfba66f36b995df4c1121137.tar.gz gentoo-2-71deda2aa8e22285bfba66f36b995df4c1121137.tar.bz2 gentoo-2-71deda2aa8e22285bfba66f36b995df4c1121137.zip |
use sed -i; add error messages
Diffstat (limited to 'dev-lang/lua')
-rw-r--r-- | dev-lang/lua/ChangeLog | 5 | ||||
-rw-r--r-- | dev-lang/lua/Manifest | 14 | ||||
-rw-r--r-- | dev-lang/lua/lua-5.0.ebuild | 17 |
3 files changed, 20 insertions, 16 deletions
diff --git a/dev-lang/lua/ChangeLog b/dev-lang/lua/ChangeLog index 84ba92364980..5d7689977efe 100644 --- a/dev-lang/lua/ChangeLog +++ b/dev-lang/lua/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-lang/lua # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.9 2003/04/14 10:37:46 twp Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/ChangeLog,v 1.10 2003/09/05 11:45:11 msterret Exp $ + + 05 Sep 2003; Michael Sterrett <msterret@gentoo.org> lua-5.0.ebuild: + use sed -i; add error messages *lua-5.0 (14 Apr 2003) diff --git a/dev-lang/lua/Manifest b/dev-lang/lua/Manifest index 84b2b55cbde6..eafd16429f47 100644 --- a/dev-lang/lua/Manifest +++ b/dev-lang/lua/Manifest @@ -1,10 +1,10 @@ -MD5 7bb76903226a11484013e9657e217025 files/digest-lua-4.0 55 -MD5 652889fa621a25d6dc41ce0eb76bd5c2 files/digest-lua-4.0.1 61 -MD5 6365486c1e78a5fc73e34a3bda3feef7 files/lua-4.0-config.patch 840 -MD5 620a2e3bbbe7594ab1989164430fc081 files/digest-lua-5.0_beta 196 -MD5 aa4434c9f3a86a28f227df41cb874093 files/digest-lua-5.0 185 +MD5 545ac06417720c6bef55536dada49ac2 ChangeLog 1449 MD5 85a5eb8f8b7221914e902987d0cab50b lua-4.0.1.ebuild 741 MD5 77423167968c443c7977b7aa6fabe21f lua-4.0.ebuild 730 -MD5 312f60fa3567bd6e0100338a6585e849 ChangeLog 1339 +MD5 f1d4d3d77ecbb61e83996fcf49225bdd lua-5.0.ebuild 1052 MD5 5b5c840855f0b8c00be987b30fcbf792 lua-5.0_beta.ebuild 1004 -MD5 85dcdce795ec89a9141c30f9f033edcc lua-5.0.ebuild 968 +MD5 7bb76903226a11484013e9657e217025 files/digest-lua-4.0 55 +MD5 652889fa621a25d6dc41ce0eb76bd5c2 files/digest-lua-4.0.1 61 +MD5 aa4434c9f3a86a28f227df41cb874093 files/digest-lua-5.0 185 +MD5 620a2e3bbbe7594ab1989164430fc081 files/digest-lua-5.0_beta 196 +MD5 6365486c1e78a5fc73e34a3bda3feef7 files/lua-4.0-config.patch 840 diff --git a/dev-lang/lua/lua-5.0.ebuild b/dev-lang/lua/lua-5.0.ebuild index 14384730755d..cb14b4750535 100644 --- a/dev-lang/lua/lua-5.0.ebuild +++ b/dev-lang/lua/lua-5.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.0.ebuild,v 1.2 2003/07/11 22:14:07 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.0.ebuild,v 1.3 2003/09/05 11:45:11 msterret Exp $ DESCRIPTION="A powerful light-weight programming language designed for extending applications" HOMEPAGE="http://www.lua.org/" @@ -8,21 +8,22 @@ SRC_URI="http://www.lua.org/ftp/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha ~arm ~hppa ~mips ~ppc ~sparc x86" -DEPEND="virtual/glibc" +DEPEND="virtual/glibc + >=sys-apps/sed-4" src_compile() { - cp config config.orig - sed -e 's:^#POPEN= -DUSE_POPEN$:POPEN= -DUSE_POPEN:' \ + sed -i \ + -e 's:^#POPEN= -DUSE_POPEN$:POPEN= -DUSE_POPEN:' \ -e "s:^MYCFLAGS= -O2:MYCFLAGS= ${CFLAGS}:" \ -e 's:INSTALL_ROOT= /usr/local:INSTALL_ROOT= $(DESTDIR)/usr:' \ -e 's:INSTALL_MAN= $(INSTALL_ROOT)/man/man1:INSTALL_MAN= $(INSTALL_ROOT)/share/man/man1:' \ - config.orig > config - emake || die - emake so || die + config || die "sed config failed" + emake || die "emake failed" + emake so || die "emake so failed" } src_install() { - make DESTDIR=${D} install soinstall || die + make DESTDIR=${D} install soinstall || die "make install soinstall failed" dodoc COPYRIGHT HISTORY README dohtml doc/*.html doc/*.gif } |