summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-06-30 22:50:55 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-06-30 22:50:55 +0000
commit5b6b8db72bb2ab71fbbabaf3a1d63aa44d7b8a65 (patch)
treeb3010ad4ca88d93318b50f8f83dcf0d2cdc8d6b5 /games-board/kcheckers
parentstable amd64, bug 230217 (diff)
downloadgentoo-2-5b6b8db72bb2ab71fbbabaf3a1d63aa44d7b8a65.tar.gz
gentoo-2-5b6b8db72bb2ab71fbbabaf3a1d63aa44d7b8a65.tar.bz2
gentoo-2-5b6b8db72bb2ab71fbbabaf3a1d63aa44d7b8a65.zip
Add split qt-4 dependencies, bug #217170
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.9 x86_64)
Diffstat (limited to 'games-board/kcheckers')
-rw-r--r--games-board/kcheckers/ChangeLog5
-rw-r--r--games-board/kcheckers/kcheckers-0.8.1.ebuild14
2 files changed, 8 insertions, 11 deletions
diff --git a/games-board/kcheckers/ChangeLog b/games-board/kcheckers/ChangeLog
index daf7622586c7..d72170c656b8 100644
--- a/games-board/kcheckers/ChangeLog
+++ b/games-board/kcheckers/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/kcheckers
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/ChangeLog,v 1.12 2008/06/30 22:50:55 nyhm Exp $
+
+ 30 Jun 2008; Tristan Heaven <nyhm@gentoo.org> kcheckers-0.8.1.ebuild:
+ Add split qt-4 dependencies, bug #217170
10 Jun 2008; Michael Sterrett <mr_bones_@gentoo.org>
kcheckers-0.8.1.ebuild:
diff --git a/games-board/kcheckers/kcheckers-0.8.1.ebuild b/games-board/kcheckers/kcheckers-0.8.1.ebuild
index 3ba77a3e622a..76a6b66f8301 100644
--- a/games-board/kcheckers/kcheckers-0.8.1.ebuild
+++ b/games-board/kcheckers/kcheckers-0.8.1.ebuild
@@ -1,9 +1,9 @@
# 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.3 2008/06/10 00:46:51 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/kcheckers-0.8.1.ebuild,v 1.4 2008/06/30 22:50:55 nyhm Exp $
EAPI=1
-inherit eutils toolchain-funcs qt4 games
+inherit eutils qt4 games
DESCRIPTION="Qt version of the classic boardgame checkers"
HOMEPAGE="http://kcheckers.wibix.de/"
@@ -14,7 +14,7 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
-DEPEND=">=x11-libs/qt-4.1:4"
+DEPEND="|| ( x11-libs/qt-gui:4 x11-libs/qt:4 )"
src_unpack() {
unpack ${A}
@@ -27,17 +27,11 @@ src_unpack() {
sed -i \
-e "s:PREFIX\"/share:\"${GAMES_DATADIR}:" \
main.cc toplevel.cc || die "sed failed"
-
- echo "QMAKE_CXXFLAGS_RELEASE = ${CXXFLAGS}" >> kcheckers.pro
- echo "QMAKE_LFLAGS_RELEASE = ${LDFLAGS}" >> kcheckers.pro
}
src_compile() {
eqmake4
- emake \
- CXX=$(tc-getCXX) \
- LINK=$(tc-getCXX) \
- || die "emake failed"
+ emake || die "emake failed"
}
src_install() {