projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18df3d6
)
media-libs/kvazaar: fix tests on live ebuild
author
Alexis Ballier
<aballier@gentoo.org>
Sat, 15 Oct 2016 09:42:31 +0000
(11:42 +0200)
committer
Alexis Ballier
<aballier@gentoo.org>
Sat, 15 Oct 2016 09:42:37 +0000
(11:42 +0200)
Package-Manager: portage-2.3.2
media-libs/kvazaar/kvazaar-9999.ebuild
patch
|
blob
|
history
diff --git
a/media-libs/kvazaar/kvazaar-9999.ebuild
b/media-libs/kvazaar/kvazaar-9999.ebuild
index 7f8fec2b518dc9fb83bbbc40bad783c8435bb19c..edf3031c709cd4a56c5d4c985e84b2c770d729d0 100644
(file)
--- a/
media-libs/kvazaar/kvazaar-9999.ebuild
+++ b/
media-libs/kvazaar/kvazaar-9999.ebuild
@@
-31,6
+31,7
@@
IUSE="static-libs test"
DEPEND=""
RDEPEND="${DEPEND}"
+REQUIRED_USE="test? ( static-libs )"
ASM_DEP=">=dev-lang/yasm-1.2.0"
DEPEND="${DEPEND}
@@
-39,7
+40,7
@@
DEPEND="${DEPEND}
src_prepare() {
eautoreconf
- if use test ; then
+ if use test
&& [ "${PV#9999}" = "${PV}" ]
; then
# https://bugs.gentoo.org/show_bug.cgi?id=595932
rmdir "${S}/greatest" || die
mv "${WORKDIR}/greatest-${GREATEST_PV}" "${S}/greatest" || die