summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-03-09 01:45:36 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-03-09 01:45:36 +0000
commitf373103bb4aa887647e96d5a60a43f1af7b9ae31 (patch)
tree7e4d824856dd073d851dde78a372556955f032c0 /games-board
parentVersion bump #308431 by Dirkjan Ochtman. (diff)
downloadhistorical-f373103bb4aa887647e96d5a60a43f1af7b9ae31.tar.gz
historical-f373103bb4aa887647e96d5a60a43f1af7b9ae31.tar.bz2
historical-f373103bb4aa887647e96d5a60a43f1af7b9ae31.zip
allow building against boost:1.41
Package-Manager: portage-2.1.7.17/cvs/Linux i686
Diffstat (limited to 'games-board')
-rw-r--r--games-board/pokerth/ChangeLog7
-rw-r--r--games-board/pokerth/Manifest4
-rw-r--r--games-board/pokerth/pokerth-0.7.1.ebuild14
3 files changed, 16 insertions, 9 deletions
diff --git a/games-board/pokerth/ChangeLog b/games-board/pokerth/ChangeLog
index 9e382317b5e1..f091b39643ef 100644
--- a/games-board/pokerth/ChangeLog
+++ b/games-board/pokerth/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/pokerth
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/ChangeLog,v 1.8 2009/11/04 18:06:42 mr_bones_ Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/ChangeLog,v 1.9 2010/03/09 01:45:36 mr_bones_ Exp $
+
+ 09 Mar 2010; Michael Sterrett <mr_bones_@gentoo.org> pokerth-0.7.1.ebuild:
+ allow building against boost:1.41
04 Nov 2009; Michael Sterrett <mr_bones_@gentoo.org> pokerth-0.7.1.ebuild:
Add qt-core dep (bug #291877)
diff --git a/games-board/pokerth/Manifest b/games-board/pokerth/Manifest
index 9729640da414..9fc1889d1eac 100644
--- a/games-board/pokerth/Manifest
+++ b/games-board/pokerth/Manifest
@@ -1,6 +1,6 @@
DIST PokerTH-0.6.3-2-src.tar.bz2 4644455 RMD160 bc1d96c934e1aef645568457bd1941b8751cf372 SHA1 b3bb880f95070add6aae17160ec0ebfc80a95ac0 SHA256 d5a9f5678c09fe830770c7d60b97a9052c6eb9f41e4c8de0808323f415ac692b
DIST PokerTH-0.7.1-src.tar.bz2 6535050 RMD160 7aca895bb07bc83f977e9147217ad50eb7adfb8a SHA1 9c0c546355d7d248aeeee371d0354bfe90150a7b SHA256 97df0eeabd11e862b23e770e87053ceac245dd082f1516be1be9e4fcae882ece
EBUILD pokerth-0.6.3.ebuild 1626 RMD160 cafa85d1e972f00aaf252844d0cb69cf631f8485 SHA1 1b94690cc282d321963ec5ebc0a74c0717c01f89 SHA256 a40c93f3423c5ffa5e26074aae859c6614dbbf4a182632bbf31f92dd499a70b9
-EBUILD pokerth-0.7.1.ebuild 1421 RMD160 7c076fcb39f3043bd522ea67aa314a61e2e01c80 SHA1 b7919a64c254819afb551c82fb0f23c9cad8f610 SHA256 85d06650f6df18aca90190c327efe0b4547d11a0e9a44871ca56d89fe1d499e1
-MISC ChangeLog 1181 RMD160 c61df7fa9b0eb805c0855a70ee4a229f9f7e520d SHA1 514d6f2163fb02ed758cae745a942a17941c5a2d SHA256 6a9ebe5973f6f9e80046892c3dbfbd1354e638e60b84bf608852022cf9469322
+EBUILD pokerth-0.7.1.ebuild 1584 RMD160 6be82a42b32811275cc6ffcd1bd098a71dee46f7 SHA1 61704b6a9aaf91eecf12bc8477632ae71b7f7a9a SHA256 8985d1122d17626ee2e0ef16c532d087fc7b3a69b69450b25289a3e4389aeaa2
+MISC ChangeLog 1295 RMD160 40393521e8bcdc013138b75a480346af2aa04b76 SHA1 e4ec02a852090e52179845c76e36957928f10840 SHA256 e3d385c103b75c06236b396a92b3352dfa2005dda528937dea561c04a54963d0
MISC metadata.xml 160 RMD160 f839c00d9f25c1f873f95ab899fb64060c1d0bf5 SHA1 08c3d180cf8dbef87e40c42a18b457516a5d7ffe SHA256 5ac0a3647e8149d52ce55d391cf1680ac52d6f0330be21c3bca4790b971b5e5d
diff --git a/games-board/pokerth/pokerth-0.7.1.ebuild b/games-board/pokerth/pokerth-0.7.1.ebuild
index d3d9e32810b5..0b875418e0d9 100644
--- a/games-board/pokerth/pokerth-0.7.1.ebuild
+++ b/games-board/pokerth/pokerth-0.7.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/pokerth-0.7.1.ebuild,v 1.2 2009/11/04 18:06:42 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/pokerth-0.7.1.ebuild,v 1.3 2010/03/09 01:45:36 mr_bones_ Exp $
EAPI=2
inherit multilib flag-o-matic eutils qt4 games
@@ -15,7 +15,7 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="dedicated"
-DEPEND="dev-libs/boost:1.39
+DEPEND="|| ( dev-libs/boost:1.41 dev-libs/boost:1.39 )
>=net-libs/gnutls-2.2.2
>=net-misc/curl-7.16
x11-libs/qt-core:4
@@ -29,6 +29,8 @@ DEPEND="dev-libs/boost:1.39
S=${WORKDIR}/${MY_P}
src_prepare() {
+ local boost_ver
+
if use dedicated ; then
sed -i \
-e 's/pokerth_game.pro//' \
@@ -39,10 +41,12 @@ src_prepare() {
-e '/no_dead_strip_inits_and_terms/d' \
*pro \
|| die 'sed failed'
+ has_version dev-libs/boost:1.39 && boost_ver=1_39
+ has_version dev-libs/boost:1.41 && boost_ver=1_41
append-cxxflags \
- -I/usr/include/boost-1_39
+ -I/usr/include/boost-${boost_ver}
append-ldflags \
- -L/usr/$(get_libdir)/boost-1_39
+ -L/usr/$(get_libdir)/boost-${boost_ver}
}
src_configure() {