From: Mart Raudsepp Date: Tue, 28 Mar 2017 16:12:40 +0000 (+0300) Subject: media-gfx/gphoto2: fix tests with USE=-exif X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8cf743ab63778622b848d1fb31ed7ead9a7e9e58;p=gentoo.git media-gfx/gphoto2: fix tests with USE=-exif Gentoo-bug: 610024 --- diff --git a/media-gfx/gphoto2/gphoto2-2.5.11.ebuild b/media-gfx/gphoto2/gphoto2-2.5.11.ebuild index cf4452bdf7bb..8cc221391d98 100644 --- a/media-gfx/gphoto2/gphoto2-2.5.11.ebuild +++ b/media-gfx/gphoto2/gphoto2-2.5.11.ebuild @@ -31,6 +31,10 @@ DEPEND="${RDEPEND} src_prepare() { default + if ! use exif ; then + # Remove tests that require EXIF to pass, bug 610024 + rm "${S}"/tests/data/test0{35,36,37,40}* || die + fi # Leave GCC debug builds under user control sed -r '/(C|LD)FLAGS/ s/ -g( |")/\1/' \ -i configure{.ac,} || die