1 |
commit: cf0e49e48a751cf0adcd3e0770bf66f739613a2e |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 22 23:16:36 2013 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 22 23:16:36 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=cf0e49e4 |
7 |
|
8 |
[eclass] Fix previous commit |
9 |
|
10 |
* tests were completely disabled :( |
11 |
|
12 |
--- |
13 |
eclass/kde-frameworks.eclass | 2 +- |
14 |
1 file changed, 1 insertion(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/eclass/kde-frameworks.eclass b/eclass/kde-frameworks.eclass |
17 |
index 521a6d4..7bb743d 100644 |
18 |
--- a/eclass/kde-frameworks.eclass |
19 |
+++ b/eclass/kde-frameworks.eclass |
20 |
@@ -202,7 +202,7 @@ kde-frameworks_src_prepare() { |
21 |
-i CMakeLists.txt || die |
22 |
|
23 |
# only build unit tests when required |
24 |
- if ! use_if_use test ; then |
25 |
+ if ! in_iuse test || ! use test ; then |
26 |
sed -e "/add_subdirectory[[:space:]]*([[:space:]]*autotests[[:space:]]*)/s/^/#DONOTCOMPILE /" \ |
27 |
-i CMakeLists.txt || die |
28 |
fi |