summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-06-09 21:23:10 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-06-09 21:23:10 +0000
commit81363ad48e6369083509c24e56bc470143866a7b (patch)
treedbb3aecb6057b4c777cb1c0bc25b8f46c16e1ee1 /games-board
parentInitial commit (diff)
downloadhistorical-81363ad48e6369083509c24e56bc470143866a7b.tar.gz
historical-81363ad48e6369083509c24e56bc470143866a7b.tar.bz2
historical-81363ad48e6369083509c24e56bc470143866a7b.zip
support later eselect-enabled versions of boost
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-board')
-rw-r--r--games-board/pokerth/ChangeLog5
-rw-r--r--games-board/pokerth/Manifest4
-rw-r--r--games-board/pokerth/pokerth-0.6.3.ebuild26
3 files changed, 29 insertions, 6 deletions
diff --git a/games-board/pokerth/ChangeLog b/games-board/pokerth/ChangeLog
index d4237162e5dd..51e590b7dcb2 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.4 2009/03/25 12:23:07 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/ChangeLog,v 1.5 2009/06/09 21:23:10 mr_bones_ Exp $
+
+ 09 Jun 2009; Michael Sterrett <mr_bones_@gentoo.org> pokerth-0.6.3.ebuild:
+ support later eselect-enabled versions of boost
25 Mar 2009; Joseph Jezak <josejx@gentoo.org> pokerth-0.6.3.ebuild:
Marked ~ppc for bug #263432.
diff --git a/games-board/pokerth/Manifest b/games-board/pokerth/Manifest
index d9d7cf36bb2b..b1d83973ef9d 100644
--- a/games-board/pokerth/Manifest
+++ b/games-board/pokerth/Manifest
@@ -1,4 +1,4 @@
DIST PokerTH-0.6.3-2-src.tar.bz2 4644455 RMD160 bc1d96c934e1aef645568457bd1941b8751cf372 SHA1 b3bb880f95070add6aae17160ec0ebfc80a95ac0 SHA256 d5a9f5678c09fe830770c7d60b97a9052c6eb9f41e4c8de0808323f415ac692b
-EBUILD pokerth-0.6.3.ebuild 1219 RMD160 7382b4989b34d51d5bb0f9977f9b1e0ed757dae5 SHA1 c5c2ced75c7e9dbcfa6da6be1e7509cf89cc6148 SHA256 40f369dcd50b0f17e6abb39aba1c32d908e22bd25c00b155f5cf84c6e748685b
-MISC ChangeLog 666 RMD160 e393b6a02a620b201776d6ee7aa431d7d86a136d SHA1 58e342ed7dfec7614576d2cdb6a35735a57bdae9 SHA256 19ff51f1b35e205c7b3ab632f56b2808f023d08d785d5bbf06293eb4bd3b3cfe
+EBUILD pokerth-0.6.3.ebuild 1750 RMD160 2a4d241e21549ae209912629e494f0972322c3c4 SHA1 1217dfc8732db8eecff973f3190b3377d0cc2e68 SHA256 c743a75c910618d13148c569f54a3d1948263f153b44b55febb0840612c79d66
+MISC ChangeLog 797 RMD160 a6ba8cca2c13cd7b7b427faf01a31ea4e5f71f8e SHA1 46a806ab8f07dd858e97c1df8cb0f464c5964bf8 SHA256 41d8e578d131026fd9e5bf6268fe691ea9417c498dc4e7b3ebf6abccde83daff
MISC metadata.xml 160 RMD160 f839c00d9f25c1f873f95ab899fb64060c1d0bf5 SHA1 08c3d180cf8dbef87e40c42a18b457516a5d7ffe SHA256 5ac0a3647e8149d52ce55d391cf1680ac52d6f0330be21c3bca4790b971b5e5d
diff --git a/games-board/pokerth/pokerth-0.6.3.ebuild b/games-board/pokerth/pokerth-0.6.3.ebuild
index 4080bc4f73fa..7cd0c2a3a36a 100644
--- a/games-board/pokerth/pokerth-0.6.3.ebuild
+++ b/games-board/pokerth/pokerth-0.6.3.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/pokerth/pokerth-0.6.3.ebuild,v 1.4 2009/03/25 12:23:07 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/pokerth-0.6.3.ebuild,v 1.5 2009/06/09 21:23:10 mr_bones_ Exp $
EAPI=2
inherit eutils qt4 games
@@ -15,18 +15,34 @@ SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="dedicated"
-DEPEND=">=dev-libs/boost-1.34.1
+DEPEND="
+ || ( >=dev-libs/boost-1.35.0-r5:0
+ ~dev-libs/boost-1.34.1
+ ~dev-libs/boost-1.33.1 )
>=net-libs/gnutls-2.2.2
>=net-misc/curl-7.16
!dedicated? (
media-libs/libsdl
media-libs/sdl-mixer[mikmod,vorbis]
>=sys-libs/zlib-1.2.3
- || ( x11-libs/qt-gui:4 x11-libs/qt:4 )
+ x11-libs/qt-gui:4
)"
S=${WORKDIR}/${MY_P}
+pkg_setup() {
+ games_pkg_setup
+ if has_version '>=dev-libs/boost-1.35.0-r5:0' ; then
+ local boost_ver=$(f=$(eselect boost show | tail -n1); echo $f)
+
+ if [[ "$boost_ver" != "boost-1_35" ]] ; then
+ ewarn "${P} requires boost to be set to version 1_35"
+ ewarn "use eselect to set boost to the required version"
+ die "Incorrect boost version currently selected (currently $boost_ver)"
+ fi
+ fi
+}
+
src_prepare() {
if use dedicated ; then
sed -i \
@@ -34,6 +50,10 @@ src_prepare() {
pokerth.pro \
|| die "sed failed"
fi
+ sed -i \
+ -e '/no_dead_strip_inits_and_terms/d' \
+ *pro \
+ || die 'sed failed'
}
src_configure() {