summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/iulib/iulib-0.4.ebuild')
-rw-r--r--media-libs/iulib/iulib-0.4.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/media-libs/iulib/iulib-0.4.ebuild b/media-libs/iulib/iulib-0.4.ebuild
index 8cd12abe1ad0..b50042f85400 100644
--- a/media-libs/iulib/iulib-0.4.ebuild
+++ b/media-libs/iulib/iulib-0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/iulib/iulib-0.4.ebuild,v 1.3 2010/03/20 21:20:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/iulib/iulib-0.4.ebuild,v 1.4 2010/03/21 05:03:55 vapier Exp $
inherit eutils toolchain-funcs
@@ -18,7 +18,10 @@ DEPEND="sys-libs/zlib
media-libs/libpng
media-libs/jpeg
media-libs/tiff
- sdl? ( media-libs/libsdl )"
+ sdl? (
+ media-libs/libsdl
+ media-libs/sdl-gfx
+ )"
src_unpack() {
unpack ${A}
@@ -27,7 +30,9 @@ src_unpack() {
sed -i \
-e "/^have_sdl = 1/s:1:`use sdl && echo 1 || echo 0`:" \
-e '/tiff/s:inflate:TIFFOpen:' \
- SConstruct || die #297326 #308955
+ -e '/progs.Append(LIBS=libiulib)/s:Append:Prepend:' \
+ SConstruct || die #297326 #308955 #310439
+ sed -i '/SDL.SDL_image.h/d' utils/dgraphics.cc || die #310443
}
src_compile() {