--- /libdv-0.99.ebuild.orig 2003-04-05 17:21:10.000000000 +0200 +++ /libdv-0.99.ebuild 2003-05-13 10:44:44.000000000 +0200 @@ -19,13 +19,20 @@ xv? ( x11-base/xfree ) dev-util/pkgconfig sdl? ( >=media-libs/libsdl-1.2.4.20020601 )" + +src_unpack() { + unpack ${A} + cd ${S} + patch -p1 <${FILESDIR}/Makefile.in.diff || die + patch -p1 <${FILESDIR}/configure.diff || die +} src_compile() { myconf="--without-debug" use gtk \ - || myconf="$myconf --disable-gtk" + || myconf="$myconf --disable-gtk --disable-gtktest" use sdl \ && myconf="$myconf --enable-sdl" \ || myconf="$myconf --disable-sdl"