diff options
| -rw-r--r-- | eclass/kde-frameworks.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/kde-frameworks.eclass b/eclass/kde-frameworks.eclass index 521a6d4492a..7bb743d7570 100644 --- a/eclass/kde-frameworks.eclass +++ b/eclass/kde-frameworks.eclass @@ -202,7 +202,7 @@ kde-frameworks_src_prepare() { -i CMakeLists.txt || die # only build unit tests when required - if ! use_if_use test ; then + if ! in_iuse test || ! use test ; then sed -e "/add_subdirectory[[:space:]]*([[:space:]]*autotests[[:space:]]*)/s/^/#DONOTCOMPILE /" \ -i CMakeLists.txt || die fi |
