Blame SOURCES/kdelibs-4.10.5-cmake-multilib.patch

e4fba6
--- kdelibs-4.10.5/CreateKDELibsDependenciesFile.cmake.multilib	2014-01-08 17:30:42.270885255 +0100
e4fba6
+++ kdelibs-4.10.5/CreateKDELibsDependenciesFile.cmake	2014-01-08 17:30:49.082868267 +0100
e4fba6
@@ -57,13 +57,18 @@ make_install_path_absolute(KDE4_DBUS_SER
e4fba6
 make_install_path_absolute(KDE4_SERVICES_INSTALL_DIR ${SERVICES_INSTALL_DIR})
e4fba6
 make_install_path_absolute(KDE4_SERVICETYPES_INSTALL_DIR ${SERVICETYPES_INSTALL_DIR})
e4fba6
 
e4fba6
+STRING(REGEX REPLACE "/lib64" "/lib" KDE4_LIB_INSTALL_DIR_STRIPPED ${KDE4_LIB_INSTALL_DIR})
e4fba6
+STRING(REGEX REPLACE "/lib64" "/lib" KDE4_IMPORTS_INSTALL_DIR_STRIPPED ${KDE4_IMPORTS_INSTALL_DIR})
e4fba6
+STRING(REGEX REPLACE "/lib" "/lib\${LIB_SUFFIX}" KDE4_LIB_INSTALL_DIR_EXTENDED ${KDE4_LIB_INSTALL_DIR_STRIPPED})
e4fba6
+STRING(REGEX REPLACE "/lib" "/lib\${LIB_SUFFIX}" KDE4_IMPORTS_INSTALL_DIR_EXTENDED ${KDE4_IMPORTS_INSTALL_DIR_STRIPPED})
e4fba6
+
e4fba6
 file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/KDELibsDependencies.cmake  "
e4fba6
 if (NOT KDE4_INSTALL_DIR)
e4fba6
    set(KDE4_INSTALL_DIR         \"${CMAKE_INSTALL_PREFIX}\")
e4fba6
 endif (NOT KDE4_INSTALL_DIR)
e4fba6
 
e4fba6
-set(KDE4_LIB_INSTALL_DIR     \"${KDE4_LIB_INSTALL_DIR}\")
e4fba6
-set(KDE4_IMPORTS_INSTALL_DIR     \"${KDE4_IMPORTS_INSTALL_DIR}\")
e4fba6
+set(KDE4_LIB_INSTALL_DIR     \"${KDE4_LIB_INSTALL_DIR_EXTENDED}\")
e4fba6
+set(KDE4_IMPORTS_INSTALL_DIR     \"${KDE4_IMPORTS_INSTALL_DIR_EXTENDED}\")
e4fba6
 set(KDE4_LIBEXEC_INSTALL_DIR \"${KDE4_LIBEXEC_INSTALL_DIR}\")
e4fba6
 set(KDE4_INCLUDE_INSTALL_DIR \"${KDE4_INCLUDE_INSTALL_DIR}\")
e4fba6
 set(KDE4_BIN_INSTALL_DIR     \"${KDE4_BIN_INSTALL_DIR}\")