summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2009-07-24 14:02:38 +0000
committerTristan Heaven <nyhm@gentoo.org>2009-07-24 14:02:38 +0000
commit76f10da43e1e9d635b8b4cac3e6f197e81dd4217 (patch)
tree3e575d3e691ee38c48c5b8d2285b3b2088122fc5 /games-action
parentVersion cleanup, also version 1.3.3 fails some tests (Bug #276681) (diff)
downloadgentoo-2-76f10da43e1e9d635b8b4cac3e6f197e81dd4217.tar.gz
gentoo-2-76f10da43e1e9d635b8b4cac3e6f197e81dd4217.tar.bz2
gentoo-2-76f10da43e1e9d635b8b4cac3e6f197e81dd4217.zip
Fix build error when bashdb is installed, bug #276794
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/chickens/ChangeLog5
-rw-r--r--games-action/chickens/chickens-0.2.4.ebuild9
2 files changed, 10 insertions, 4 deletions
diff --git a/games-action/chickens/ChangeLog b/games-action/chickens/ChangeLog
index 9774a8704fd1..23859eb30d62 100644
--- a/games-action/chickens/ChangeLog
+++ b/games-action/chickens/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-action/chickens
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/chickens/ChangeLog,v 1.14 2009/04/02 18:53:56 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/chickens/ChangeLog,v 1.15 2009/07/24 14:02:38 nyhm Exp $
+
+ 24 Jul 2009; Tristan Heaven <nyhm@gentoo.org> chickens-0.2.4.ebuild:
+ Fix build error when bashdb is installed, bug #276794
02 Apr 2009; Michael Sterrett <mr_bones_@gentoo.org>
chickens-0.2.4.ebuild:
diff --git a/games-action/chickens/chickens-0.2.4.ebuild b/games-action/chickens/chickens-0.2.4.ebuild
index 3f48a8c5df0b..8969a82be1cb 100644
--- a/games-action/chickens/chickens-0.2.4.ebuild
+++ b/games-action/chickens/chickens-0.2.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/chickens/chickens-0.2.4.ebuild,v 1.14 2009/04/02 18:53:56 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/chickens/chickens-0.2.4.ebuild,v 1.15 2009/07/24 14:02:38 nyhm Exp $
EAPI=2
inherit eutils games
@@ -28,17 +28,20 @@ src_prepare() {
sed -i \
-e "s:options.cfg:${GAMES_SYSCONFDIR}/${PN}/options.cfg:" \
-e "s:\"sound/:\"${GAMES_DATADIR}/${PN}/sound/:" \
- -e "s:\"dat/:\"${GAMES_DATADIR}/${PN}/dat/:" main.cpp README \
+ -e "s:\"dat/:\"${GAMES_DATADIR}/${PN}/dat/:" \
+ main.cpp README \
|| die "sed failed"
sed -i \
-e '/^CPPFLAGS/d' \
+ -e 's:g++:\\$(CXX) \\$(CXXFLAGS) \\$(LDFLAGS):' \
configure \
|| die "sed failed"
}
src_configure() {
- ./configure || die
+ bash ./configure || die "configure failed"
}
+
src_install() {
dogamesbin ${PN} || die "dogamesbin failed"
insinto "${GAMES_DATADIR}"/${PN}