diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2012-11-04 06:02:12 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2012-11-04 06:02:12 +0000 |
commit | 94b8a4a830be0b98d14ed046a6f46de28d41098b (patch) | |
tree | c518c71fa95aaba8ab80247e19f080957e656cc3 /games-strategy/ufo-ai/ufo-ai-2.4.ebuild | |
parent | Remove /var/run so that it does not trigger portage's symlink protection on c... (diff) | |
download | historical-94b8a4a830be0b98d14ed046a6f46de28d41098b.tar.gz historical-94b8a4a830be0b98d14ed046a6f46de28d41098b.tar.bz2 historical-94b8a4a830be0b98d14ed046a6f46de28d41098b.zip |
don't try to use the system mini-xml (bug #440026)
Package-Manager: portage-2.1.11.9/cvs/Linux x86_64
Diffstat (limited to 'games-strategy/ufo-ai/ufo-ai-2.4.ebuild')
-rw-r--r-- | games-strategy/ufo-ai/ufo-ai-2.4.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/games-strategy/ufo-ai/ufo-ai-2.4.ebuild b/games-strategy/ufo-ai/ufo-ai-2.4.ebuild index f3e1022e820e..885310f833b5 100644 --- a/games-strategy/ufo-ai/ufo-ai-2.4.ebuild +++ b/games-strategy/ufo-ai/ufo-ai-2.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ufo-ai-2.4.ebuild,v 1.3 2012/06/08 11:48:07 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ufo-ai-2.4.ebuild,v 1.4 2012/11/04 06:02:12 mr_bones_ Exp $ EAPI=3 inherit eutils flag-o-matic games @@ -47,8 +47,12 @@ DEPEND="!dedicated? ( S=${WORKDIR}/${MY_P}-source src_prepare() { - has_version '>=sys-libs/zlib-1.2.5.1-r1' && sed -i \ - -e '1i#define OF(x) x' src/common/ioapi.h + if has_version '>=sys-libs/zlib-1.2.5.1-r1' ; then + sed -i -e '1i#define OF(x) x' src/common/ioapi.h || die + fi + + # don't try to use the system mini-xml + sed -i -e '/mxml/d' configure || die epatch "${FILESDIR}"/${P}-locale.patch |