--- DirectFB-0.9.22.ebuild 2005-05-18 22:05:27.000000000 -0600 +++ DirectFB-0.9.22-zlib.patch 2005-08-20 09:37:34.000000000 -0600 @@ -14,7 +14,8 @@ LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="alpha amd64 hppa ia64 -mips ppc -sparc x86" -IUSE="debug fbcon fusion gif jpeg mmx mpeg png sdl sse static sysfs truetype" +IUSE="debug fbcon fusion gif jpeg mmx mpeg png sdl sse static sysfs truetype +zlib" DEPEND="sdl? ( media-libs/libsdl ) gif? ( media-libs/giflib ) @@ -22,7 +23,8 @@ jpeg? ( media-libs/jpeg ) mpeg? ( media-libs/libmpeg3 ) sysfs? ( sys-fs/sysfsutils ) - truetype? ( >=media-libs/freetype-2.0.1 )" + truetype? ( >=media-libs/freetype-2.0.1 ) + zlib? ( sys-libs/zlib )" pkg_setup() { if [[ -z ${VIDEO_CARDS} ]] ; then @@ -96,6 +98,7 @@ $(use_enable debug) \ $(use_enable static) \ $(use_enable sysfs) \ + $(use_enable zlib) \ ${sdlconf} \ --with-gfxdrivers="${vidcards}" \ --with-inputdrivers="${inputdrivers}" \