summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-26 01:13:00 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-26 01:13:00 +0000
commit78f8d949efdc39ba19e2a9ee613f386934583da0 (patch)
tree13eeb320e57f33103d590b01d5addbee34e88638 /games-board
parentarm/s390/sh stable (diff)
downloadgentoo-2-78f8d949efdc39ba19e2a9ee613f386934583da0.tar.gz
gentoo-2-78f8d949efdc39ba19e2a9ee613f386934583da0.tar.bz2
gentoo-2-78f8d949efdc39ba19e2a9ee613f386934583da0.zip
use src_prepare/configure
(Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/r-katro/r-katro-0.7.0.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/games-board/r-katro/r-katro-0.7.0.ebuild b/games-board/r-katro/r-katro-0.7.0.ebuild
index 19c346aa6b83..27951abf58e7 100644
--- a/games-board/r-katro/r-katro-0.7.0.ebuild
+++ b/games-board/r-katro/r-katro-0.7.0.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-board/r-katro/r-katro-0.7.0.ebuild,v 1.12 2009/01/03 22:43:11 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/r-katro/r-katro-0.7.0.ebuild,v 1.13 2009/01/26 01:13:00 mr_bones_ Exp $
EAPI=2
inherit eutils qt3 games
@@ -20,9 +20,7 @@ RDEPEND="x11-libs/qt:3[opengl]
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${P}-gcc43.patch
sed -i \
's:$(localedir):/usr/share/locale:' \
@@ -30,10 +28,9 @@ src_unpack() {
|| die "sed failed"
}
-src_compile() {
+src_configure() {
egamesconf $(use_enable nls) || die
mkdir src/moc src/helpviewer/moc
- emake CXXFLAGS="${CXXFLAGS}" || die "emake failed"
}
src_install() {