summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2017-03-28 19:12:40 +0300
committerMart Raudsepp <leio@gentoo.org>2017-03-28 19:13:50 +0300
commit8cf743ab63778622b848d1fb31ed7ead9a7e9e58 (patch)
tree32930d5c76affdcf54d343039c7ed623c03a4e76 /media-gfx/gphoto2
parentsci-chemistry/chemical-mime-data: arm stable (bug 609164). (diff)
downloadgentoo-8cf743ab63778622b848d1fb31ed7ead9a7e9e58.tar.gz
gentoo-8cf743ab63778622b848d1fb31ed7ead9a7e9e58.tar.bz2
gentoo-8cf743ab63778622b848d1fb31ed7ead9a7e9e58.zip
media-gfx/gphoto2: fix tests with USE=-exif
Gentoo-bug: 610024
Diffstat (limited to 'media-gfx/gphoto2')
-rw-r--r--media-gfx/gphoto2/gphoto2-2.5.11.ebuild4
1 files changed, 4 insertions, 0 deletions
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