projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7b6371
)
media-gfx/gphoto2: fix tests with USE=-exif
author
Mart Raudsepp
<leio@gentoo.org>
Tue, 28 Mar 2017 16:12:40 +0000
(19:12 +0300)
committer
Mart Raudsepp
<leio@gentoo.org>
Tue, 28 Mar 2017 16:13:50 +0000
(19:13 +0300)
Gentoo-bug: 610024
media-gfx/gphoto2/gphoto2-2.5.11.ebuild
patch
|
blob
|
history
diff --git
a/media-gfx/gphoto2/gphoto2-2.5.11.ebuild
b/media-gfx/gphoto2/gphoto2-2.5.11.ebuild
index cf4452bdf7bb62e26e143d07b78318bba184ebf3..8cc221391d983b497ab24c452703369bfe857b98 100644
(file)
--- 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