Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: games.eclass
Date: Thu, 22 Jan 2009 19:50:23
Message-Id: E1LQ5ZD-0005kQ-O6@stork.gentoo.org
1 mr_bones_ 09/01/22 19:50:19
2
3 Modified: games.eclass
4 Log:
5 Avoid dying on newer libsdl which doesn't have the no* use flags anymore.
6
7 Revision Changes Path
8 1.132 eclass/games.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games.eclass?rev=1.132&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games.eclass?rev=1.132&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games.eclass?r1=1.131&r2=1.132
13
14 Index: games.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/games.eclass,v
17 retrieving revision 1.131
18 retrieving revision 1.132
19 diff -u -r1.131 -r1.132
20 --- games.eclass 21 Jan 2009 19:03:53 -0000 1.131
21 +++ games.eclass 22 Jan 2009 19:50:19 -0000 1.132
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2008 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.131 2009/01/21 19:03:53 mr_bones_ Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.132 2009/01/22 19:50:19 mr_bones_ Exp $
27
28 # devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org -> games@g.o
29 #
30 @@ -118,7 +118,7 @@
31
32 # Make sure SDL was built in a certain way
33 if [[ -n ${GAMES_USE_SDL} ]] ; then
34 - if built_with_use -o media-libs/libsdl ${GAMES_USE_SDL} ; then
35 + if built_with_use --missing false -o media-libs/libsdl ${GAMES_USE_SDL} ; then
36 eerror "You built libsdl with wrong USE flags."
37 eerror "Make sure you rebuild it like this:"
38 eerror "USE='-${GAMES_USE_SDL// / -}'"