summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-10-15 11:42:31 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-10-15 11:42:37 +0200
commitf5344275922663b73a12d97f07a5c7a536a2d594 (patch)
treebd1710560bc75f833fa4988b9a84c73849c3c6f7 /media-libs/kvazaar
parentsys-cluster/ipvsadm: x86 stable, bug #495944 (diff)
downloadgentoo-f5344275922663b73a12d97f07a5c7a536a2d594.tar.gz
gentoo-f5344275922663b73a12d97f07a5c7a536a2d594.tar.bz2
gentoo-f5344275922663b73a12d97f07a5c7a536a2d594.zip
media-libs/kvazaar: fix tests on live ebuild
Package-Manager: portage-2.3.2
Diffstat (limited to 'media-libs/kvazaar')
-rw-r--r--media-libs/kvazaar/kvazaar-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/media-libs/kvazaar/kvazaar-9999.ebuild b/media-libs/kvazaar/kvazaar-9999.ebuild
index 7f8fec2b518d..edf3031c709c 100644
--- 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