summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-16 06:34:27 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-16 06:34:27 +0000
commitcf45edc57e1aed17a4284a1f251f24125dc8e1fa (patch)
treefaa5a19cb2fba6e4bb59b46a186de30797cf15fa /media-libs/libsdl
parentadd some comments (diff)
downloadgentoo-2-cf45edc57e1aed17a4284a1f251f24125dc8e1fa.tar.gz
gentoo-2-cf45edc57e1aed17a4284a1f251f24125dc8e1fa.tar.bz2
gentoo-2-cf45edc57e1aed17a4284a1f251f24125dc8e1fa.zip
dont apply gcc-3.4 patch for gcc-2.x users #70079
Diffstat (limited to 'media-libs/libsdl')
-rw-r--r--media-libs/libsdl/libsdl-1.2.7-r3.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/media-libs/libsdl/libsdl-1.2.7-r3.ebuild b/media-libs/libsdl/libsdl-1.2.7-r3.ebuild
index b35979d065c9..48293c122437 100644
--- a/media-libs/libsdl/libsdl-1.2.7-r3.ebuild
+++ b/media-libs/libsdl/libsdl-1.2.7-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.7-r3.ebuild,v 1.6 2004/11/10 14:41:29 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.7-r3.ebuild,v 1.7 2004/11/16 06:34:27 vapier Exp $
inherit toolchain-funcs fixheadtails eutils gnuconfig
@@ -10,7 +10,7 @@ SRC_URI="http://www.libsdl.org/release/SDL-${PV}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 arm hppa ia64 ppc ~ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
IUSE="oss alsa esd arts nas X dga xv xinerama fbcon directfb ggi svga aalib opengl libcaca noaudio novideo nojoystick"
# if you disable audio/video/joystick and something breaks, you pick up the pieces
@@ -47,7 +47,8 @@ src_unpack() {
epatch "${FILESDIR}/${PV}-nobuggy-X.patch" #30089
epatch "${FILESDIR}/${PV}-libcaca.patch" #40224
- epatch "${FILESDIR}/${PV}-gcc34.patch" #48947
+ [ "$(gcc-major-version)" != "2" ] \
+ && epatch "${FILESDIR}/${PV}-gcc34.patch" #48947
epatch "${FILESDIR}/${PV}-joystick2.patch" #52833
epatch "${FILESDIR}/${PV}-26headers.patch" #58192