summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2011-08-21 17:30:36 +0000
committerAnthony G. Basile <blueness@gentoo.org>2011-08-21 17:30:36 +0000
commit744c58c69d199d5412590f92bd8b0a122315445d (patch)
treea2ed1ef442820e94f4e6adbad7b8282cdaefe7aa /dev-lua/luaevent
parentAdd die after sed, bug #380083 (diff)
downloadgentoo-2-744c58c69d199d5412590f92bd8b0a122315445d.tar.gz
gentoo-2-744c58c69d199d5412590f92bd8b0a122315445d.tar.bz2
gentoo-2-744c58c69d199d5412590f92bd8b0a122315445d.zip
Add die after seds, bug #380087
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-lua/luaevent')
-rw-r--r--dev-lua/luaevent/ChangeLog5
-rw-r--r--dev-lua/luaevent/luaevent-0.3.1.ebuild20
2 files changed, 17 insertions, 8 deletions
diff --git a/dev-lua/luaevent/ChangeLog b/dev-lua/luaevent/ChangeLog
index 54732720cdc5..ec73ef0c8df1 100644
--- a/dev-lua/luaevent/ChangeLog
+++ b/dev-lua/luaevent/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lua/luaevent
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lua/luaevent/ChangeLog,v 1.3 2011/04/07 00:56:33 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/luaevent/ChangeLog,v 1.4 2011/08/21 17:30:36 blueness Exp $
+
+ 21 Aug 2011; Anthony G. Basile <blueness@gentoo.org> luaevent-0.3.1.ebuild:
+ Add die after seds, bug #380087
07 Apr 2011; Anthony G. Basile <blueness@gentoo.org>
luaevent-0.3.1.ebuild:
diff --git a/dev-lua/luaevent/luaevent-0.3.1.ebuild b/dev-lua/luaevent/luaevent-0.3.1.ebuild
index 744fae91385d..36b8e5c09fe0 100644
--- a/dev-lua/luaevent/luaevent-0.3.1.ebuild
+++ b/dev-lua/luaevent/luaevent-0.3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lua/luaevent/luaevent-0.3.1.ebuild,v 1.3 2011/04/07 00:56:33 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/luaevent/luaevent-0.3.1.ebuild,v 1.4 2011/08/21 17:30:36 blueness Exp $
EAPI=2
@@ -21,12 +21,18 @@ DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_prepare() {
- sed -i "s:^CFLAGS =:CFLAGS +=:" "${S}/Makefile"
- sed -i "s:^LDFLAGS =:LDFLAGS +=:" "${S}/Makefile"
- sed -i "/^LDFLAGS/a CC = $(tc-getCC)" "${S}/Makefile"
- sed -i "s:^LUA_INC_DIR ?=.*:LUA_INC_DIR ?= $(pkg-config --variable INSTALL_INC lua):" "${S}/Makefile"
- sed -i "s:^INSTALL_DIR_LUA ?=.*:INSTALL_DIR_LUA ?= $(pkg-config --variable INSTALL_LMOD lua):" "${S}/Makefile"
- sed -i "s:^INSTALL_DIR_BIN ?=.*:INSTALL_DIR_BIN ?= $(pkg-config --variable INSTALL_CMOD lua):" "${S}/Makefile"
+ sed -i "s:^CFLAGS =:CFLAGS +=:" "${S}/Makefile" \
+ || die "sed failed"
+ sed -i "s:^LDFLAGS =:LDFLAGS +=:" "${S}/Makefile" \
+ || die "sed failed"
+ sed -i "/^LDFLAGS/a CC = $(tc-getCC)" "${S}/Makefile" \
+ || die "sed failed"
+ sed -i "s:^LUA_INC_DIR ?=.*:LUA_INC_DIR ?= $(pkg-config --variable INSTALL_INC lua):" "${S}/Makefile" \
+ || die "sed failed"
+ sed -i "s:^INSTALL_DIR_LUA ?=.*:INSTALL_DIR_LUA ?= $(pkg-config --variable INSTALL_LMOD lua):" "${S}/Makefile" \
+ || die "sed failed"
+ sed -i "s:^INSTALL_DIR_BIN ?=.*:INSTALL_DIR_BIN ?= $(pkg-config --variable INSTALL_CMOD lua):" "${S}/Makefile" \
+ || die "sed failed"
}
src_install() {