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