commit: 595b5ca7e2257eef1457b7c86a18054453b292a0
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 22 19:35:42 2017 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Mar 22 19:36:36 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=595b5ca7
kde-apps/analitza: tests depend on examples...
Package-Manager: Portage-2.3.3, Repoman-2.3.1
kde-apps/analitza/analitza-16.12.3.ebuild | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/kde-apps/analitza/analitza-16.12.3.ebuild
b/kde-apps/analitza/analitza-16.12.3.ebuild
index 3f607ca6d70..d17a98f2d2e 100644
--- a/kde-apps/analitza/analitza-16.12.3.ebuild
+++ b/kde-apps/analitza/analitza-16.12.3.ebuild
@@ -26,11 +26,11 @@ DEPEND="
RDEPEND="${DEPEND}"
src_prepare() {
- # Nothing is installed
- sed -i \
- -e "/add_subdirectory(examples)/ s/^/#DONT/" \
- analitzaplot/CMakeLists.txt || die
-
+ if ! use test; then
+ sed -i \
+ -e "/add_subdirectory(examples)/ s/^/#DONT/" \
+ analitzaplot/CMakeLists.txt || die
+ fi
kde5_src_prepare
}