diff options
| author | Maciej Mrozowski <reavertm@gentoo.org> | 2010-03-15 00:25:55 +0100 |
|---|---|---|
| committer | Maciej Mrozowski <reavertm@gentoo.org> | 2010-03-15 00:25:55 +0100 |
| commit | 3711504239f5fe81cc8a436f5d7713642539c470 (patch) | |
| tree | b465f93f5e9f03be4114ca3d20dd1aadbc319053 /eclass | |
| parent | d889e72125376f9134e758054a0e1375e30c5365 (diff) | |
| download | kde-3711504239f5fe81cc8a436f5d7713642539c470.tar.gz kde-3711504239f5fe81cc8a436f5d7713642539c470.tar.bz2 kde-3711504239f5fe81cc8a436f5d7713642539c470.zip | |
[eclass/kde4-meta] Added more build system overrides for kdepim
Diffstat (limited to 'eclass')
| -rw-r--r-- | eclass/kde4-meta.eclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/kde4-meta.eclass b/eclass/kde4-meta.eclass index 14227718283..eec7acf8428 100644 --- a/eclass/kde4-meta.eclass +++ b/eclass/kde4-meta.eclass @@ -574,9 +574,14 @@ kde4-meta_change_cmakelists() { -e '/find_package\((KdepimLibs|Boost|QGpgme|Akonadi|ZLIB|Strigi|SharedDesktopOntologies|Soprano|Nepomuk)/{/macro_optional_/!s/find/macro_optional_&/}' \ -e '/macro_log_feature\((Boost|QGPGME|Akonadi|ZLIB|STRIGI|SHAREDDESKTOPONTOLOGIES|Soprano|Nepomuk)_FOUND/s/ TRUE / FALSE /' \ -i CMakeLists.txt || die "failed to disable hardcoded checks" + # Disable broken or redundant build logic + sed -e '/if[[:space:]]*([[:space:]]*BUILD_.*)/s/^/#OVERRIDE /' \ + -e '/if[[:space:]]*([[:space:]]*[[:alnum:]]*_FOUND[[:space:]]*)/s/^/#OVERRIDE /' \ + -i CMakeLists.txt \ + -i kontact/plugins/CMakeLists.txt || die 'failed to disable broken build logic' if ! slot_is_at_least 4.5 ${SLOT}; then case ${PN} in - kalarm|kmailcvt|kontact|korganizer|korn) + kaddressbook|kalarm|kmailcvt|kontact|korganizer|korn) sed -n -e '/qt4_generate_dbus_interface(.*org\.kde\.kmail\.\(kmail\|mailcomposer\)\.xml/p' \ -e '/add_custom_target(kmail_xml /,/)/p' \ -i kmail/CMakeLists.txt || die "uncommenting xml failed" |
