summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-10-08 21:24:14 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-10-08 21:24:14 +0000
commitb96032e91e32c44dbe31e88b925295bf64408f5e (patch)
tree0cbffd174d570c6f16a63c04e625dfd1e9c27a22 /games-fps/qudos
parentCleanup: use mirror://github as suggested by Agostino Sarubbo in bug #384043,... (diff)
downloadgentoo-2-b96032e91e32c44dbe31e88b925295bf64408f5e.tar.gz
gentoo-2-b96032e91e32c44dbe31e88b925295bf64408f5e.tar.bz2
gentoo-2-b96032e91e32c44dbe31e88b925295bf64408f5e.zip
Improve sys-libs/zlib handling.
(Portage version: 2.2.0_alpha63/cvs/Linux x86_64)
Diffstat (limited to 'games-fps/qudos')
-rw-r--r--games-fps/qudos/ChangeLog5
-rw-r--r--games-fps/qudos/qudos-0.40.1.ebuild7
2 files changed, 9 insertions, 3 deletions
diff --git a/games-fps/qudos/ChangeLog b/games-fps/qudos/ChangeLog
index bd0ed097c038..2363b8b049e6 100644
--- a/games-fps/qudos/ChangeLog
+++ b/games-fps/qudos/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-fps/qudos
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/qudos/ChangeLog,v 1.11 2011/02/26 15:15:19 signals Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/qudos/ChangeLog,v 1.12 2011/10/08 21:24:14 ssuominen Exp $
+
+ 08 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> qudos-0.40.1.ebuild:
+ Improve sys-libs/zlib handling.
26 Feb 2011; Kevin McCarthy <signals@gentoo.org> qudos-0.40.1.ebuild:
Updated depends from media-libs/jpeg to virtual/jpeg
diff --git a/games-fps/qudos/qudos-0.40.1.ebuild b/games-fps/qudos/qudos-0.40.1.ebuild
index 52d9bcd3ff76..dc11e14470c6 100644
--- a/games-fps/qudos/qudos-0.40.1.ebuild
+++ b/games-fps/qudos/qudos-0.40.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/qudos/qudos-0.40.1.ebuild,v 1.13 2011/10/08 20:20:03 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/qudos/qudos-0.40.1.ebuild,v 1.14 2011/10/08 21:24:14 ssuominen Exp $
EAPI=2
inherit eutils toolchain-funcs games
@@ -28,6 +28,7 @@ UIDEPEND="alsa? ( media-libs/alsa-lib )
media-libs/libogg
media-libs/libpng
media-libs/libvorbis
+ sys-libs/zlib
x11-libs/libX11
x11-libs/libXext
x11-libs/libXxf86dga
@@ -112,7 +113,9 @@ src_prepare() {
sed -i \
-e 's:jpeg_mem_src:qudos_jpeg_mem_src:g' \
src/ref_gl/gl_image.c || die
- sed -i -e '1i#define OF(x) x' src/qcommon/unzip/ioapi.h || die
+
+ has_version '>=sys-libs/zlib-1.2.5.1-r1' && \
+ sed -i -e '1i#define OF(x) x' src/qcommon/unzip/ioapi.h || die
}
src_compile() {