This patch setup QT_LIBRARY_DIR and KDE4_DATA_DIR to cross-compile KDE packages It also disable KDE runtime dependency on dev-lang/perl Reproducible: Always Steps to Reproduce: try to compile any KDE ebuilds Actual Results: CMake will try to run kde4-config and qt-config Expected Results: ebuilds succeed to configure If this patch could be included in Gentoo KDE overlay, it would allow more KDE packages to be crosscompiled.
Created attachment 218945 [details, diff] Patch to kde4-base.eclass for cross-compilation
Added to overlay. Thx for patch.
Now it's in tree, thanks!