summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-05-19 17:26:09 +0000
committerJeroen Roovers <jer@gentoo.org>2010-05-19 17:26:09 +0000
commitbd681edad0ac8feee481afb6f88a6e2f8d95e791 (patch)
tree5fd215ad0451208babfda1cd9dd2eab67685e12a /dev-python/pygame
parentDEPEND on virtual/fam (bug #320593). (diff)
downloadgentoo-2-bd681edad0ac8feee481afb6f88a6e2f8d95e791.tar.gz
gentoo-2-bd681edad0ac8feee481afb6f88a6e2f8d95e791.tar.bz2
gentoo-2-bd681edad0ac8feee481afb6f88a6e2f8d95e791.zip
Stable for HPPA (bug #287438).
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'dev-python/pygame')
-rw-r--r--dev-python/pygame/ChangeLog5
-rw-r--r--dev-python/pygame/pygame-1.9.1.ebuild12
2 files changed, 13 insertions, 4 deletions
diff --git a/dev-python/pygame/ChangeLog b/dev-python/pygame/ChangeLog
index a7f8274a7ba3..1e8056c577c5 100644
--- a/dev-python/pygame/ChangeLog
+++ b/dev-python/pygame/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/pygame
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v 1.69 2010/01/09 20:51:23 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v 1.70 2010/05/19 17:26:09 jer Exp $
+
+ 19 May 2010; Jeroen Roovers <jer@gentoo.org> pygame-1.9.1.ebuild:
+ Stable for HPPA (bug #287438).
09 Jan 2010; Raúl Porcel <armin76@gentoo.org> pygame-1.8.1.ebuild,
pygame-1.9.1.ebuild:
diff --git a/dev-python/pygame/pygame-1.9.1.ebuild b/dev-python/pygame/pygame-1.9.1.ebuild
index bc6da4051c56..593d51e2f502 100644
--- a/dev-python/pygame/pygame-1.9.1.ebuild
+++ b/dev-python/pygame/pygame-1.9.1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/pygame-1.9.1.ebuild,v 1.8 2010/02/28 11:07:44 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/pygame-1.9.1.ebuild,v 1.9 2010/05/19 17:26:09 jer Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
-inherit distutils eutils multilib
+inherit distutils eutils flag-o-matic multilib
DESCRIPTION="python bindings to sdl and other libs that facilitate game production"
HOMEPAGE="http://www.pygame.org/"
@@ -13,7 +13,7 @@ SRC_URI="http://www.pygame.org/ftp/pygame-${PV}release.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ppc sparc x86 ~x86-fbsd"
IUSE="doc examples X"
RDEPEND=">=media-libs/libsdl-1.2.5[X?]
@@ -34,6 +34,12 @@ src_prepare() {
}
src_configure() {
+ # bug #289326
+ if use hppa; then
+ ewarn "Appending -O1 to CFLAGS (bug #289326)."
+ append-flags -O1
+ fi
+
"$(PYTHON -f)" config.py -auto
sed -i -e 's:X11R6/lib:lib64:g' Setup
use X || sed -i -e 's:scrap :#scrap :' Setup