summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-06-10 00:46:51 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-06-10 00:46:51 +0000
commit4bc29047103b9791bcccf8587eb88acf9a12132c (patch)
tree8cce871c583db9c9510268c60bfd69a67f5a80d1 /games-board/kcheckers
parentuse slotted deps for qt for bug #217170 (diff)
downloadgentoo-2-4bc29047103b9791bcccf8587eb88acf9a12132c.tar.gz
gentoo-2-4bc29047103b9791bcccf8587eb88acf9a12132c.tar.bz2
gentoo-2-4bc29047103b9791bcccf8587eb88acf9a12132c.zip
use slotted deps for qt for bug #217170
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-board/kcheckers')
-rw-r--r--games-board/kcheckers/ChangeLog8
-rw-r--r--games-board/kcheckers/kcheckers-0.8.1.ebuild15
2 files changed, 15 insertions, 8 deletions
diff --git a/games-board/kcheckers/ChangeLog b/games-board/kcheckers/ChangeLog
index f78cc8809d48..daf7622586c7 100644
--- a/games-board/kcheckers/ChangeLog
+++ b/games-board/kcheckers/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-board/kcheckers
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/ChangeLog,v 1.10 2006/11/19 11:25:25 nyhm Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/ChangeLog,v 1.11 2008/06/10 00:46:51 mr_bones_ Exp $
+
+ 10 Jun 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ kcheckers-0.8.1.ebuild:
+ use slotted deps for qt for bug #217170
*kcheckers-0.8.1 (19 Nov 2006)
diff --git a/games-board/kcheckers/kcheckers-0.8.1.ebuild b/games-board/kcheckers/kcheckers-0.8.1.ebuild
index cd8c330b66b8..3ba77a3e622a 100644
--- a/games-board/kcheckers/kcheckers-0.8.1.ebuild
+++ b/games-board/kcheckers/kcheckers-0.8.1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/kcheckers-0.8.1.ebuild,v 1.2 2006/11/19 12:02:31 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/kcheckers-0.8.1.ebuild,v 1.3 2008/06/10 00:46:51 mr_bones_ Exp $
+EAPI=1
inherit eutils toolchain-funcs qt4 games
DESCRIPTION="Qt version of the classic boardgame checkers"
@@ -13,16 +14,18 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
-DEPEND="$(qt4_min_version 4.1)"
+DEPEND=">=x11-libs/qt-4.1:4"
src_unpack() {
unpack ${A}
cd "${S}"
- sed -i "s:/usr/local:${GAMES_DATADIR}:" \
+ sed -i \
+ -e "s:/usr/local:${GAMES_DATADIR}:" \
common.h || die "sed common.h failed"
- sed -i "s:PREFIX\"/share:\"${GAMES_DATADIR}:" \
+ sed -i \
+ -e "s:PREFIX\"/share:\"${GAMES_DATADIR}:" \
main.cc toplevel.cc || die "sed failed"
echo "QMAKE_CXXFLAGS_RELEASE = ${CXXFLAGS}" >> kcheckers.pro
@@ -30,7 +33,7 @@ src_unpack() {
}
src_compile() {
- qmake || die "qmake failed"
+ eqmake4
emake \
CXX=$(tc-getCXX) \
LINK=$(tc-getCXX) \