Blame SOURCES/kdelibs-4.10.0-no_rpath.patch

92cace
diff -up kdelibs-4.10.0/cmake/modules/FindKDE4Internal.cmake.no_rpath kdelibs-4.10.0/cmake/modules/FindKDE4Internal.cmake
92cace
--- kdelibs-4.10.0/cmake/modules/FindKDE4Internal.cmake.no_rpath	2013-01-31 07:47:15.581960702 -0600
92cace
+++ kdelibs-4.10.0/cmake/modules/FindKDE4Internal.cmake	2013-01-31 07:47:15.583960677 -0600
92cace
@@ -1050,7 +1050,7 @@ if (UNIX)
92cace
 
92cace
       set(CMAKE_SKIP_BUILD_RPATH FALSE)
92cace
       set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
92cace
-      set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
92cace
+      set(CMAKE_INSTALL_RPATH_USE_LINK_PATH FALSE)
92cace
    endif (APPLE)
92cace
 endif (UNIX)
92cace
 
92cace
diff -up kdelibs-4.10.0/kdewidgets/CMakeLists.txt.no_rpath kdelibs-4.10.0/kdewidgets/CMakeLists.txt
92cace
--- kdelibs-4.10.0/kdewidgets/CMakeLists.txt.no_rpath	2013-01-31 07:47:15.556961014 -0600
92cace
+++ kdelibs-4.10.0/kdewidgets/CMakeLists.txt	2013-01-31 07:47:15.583960677 -0600
92cace
@@ -46,14 +46,14 @@ if(QT_QTDESIGNER_FOUND)
92cace
   kde4_add_plugin(kdewidgets ${kdewidgets_PART_SRCS})
92cace
 
92cace
   target_link_libraries(kdewidgets  ${KDE4_KIO_LIBS})
92cace
-  if(NOT WIN32)
92cace
-    set_target_properties(kdewidgets PROPERTIES
92cace
-                                     INSTALL_RPATH_USE_LINK_PATH TRUE
92cace
-                                     SKIP_BUILD_RPATH TRUE
92cace
-                                     BUILD_WITH_INSTALL_RPATH TRUE
92cace
-                                     INSTALL_RPATH ${LIB_INSTALL_DIR}
92cace
-                         )
92cace
-  endif(NOT WIN32)
92cace
+#  if(NOT WIN32)
92cace
+#    set_target_properties(kdewidgets PROPERTIES
92cace
+#                                     INSTALL_RPATH_USE_LINK_PATH TRUE
92cace
+#                                     SKIP_BUILD_RPATH TRUE
92cace
+#                                     BUILD_WITH_INSTALL_RPATH TRUE
92cace
+#                                     INSTALL_RPATH ${LIB_INSTALL_DIR}
92cace
+#                         )
92cace
+#  endif(NOT WIN32)
92cace
 
92cace
   install(TARGETS kdewidgets  DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/designer )
92cace
 
92cace
@@ -76,14 +76,14 @@ if(QT_QTDESIGNER_FOUND)
92cace
     kde4_add_plugin(kdedeprecated ${kdedeprecated_PART_SRCS})
92cace
 
92cace
     target_link_libraries(kdedeprecated  ${KDE4_KIO_LIBS})
92cace
-    if(NOT WIN32)
92cace
-      set_target_properties(kdedeprecated PROPERTIES
92cace
-                                          INSTALL_RPATH_USE_LINK_PATH TRUE
92cace
-                                          SKIP_BUILD_RPATH TRUE
92cace
-                                          BUILD_WITH_INSTALL_RPATH TRUE
92cace
-                                          INSTALL_RPATH ${LIB_INSTALL_DIR}
92cace
-                           )
92cace
-    endif(NOT WIN32)
92cace
+#    if(NOT WIN32)
92cace
+#      set_target_properties(kdedeprecated PROPERTIES
92cace
+#                                          INSTALL_RPATH_USE_LINK_PATH TRUE
92cace
+#                                          SKIP_BUILD_RPATH TRUE
92cace
+#                                          BUILD_WITH_INSTALL_RPATH TRUE
92cace
+#                                          INSTALL_RPATH ${LIB_INSTALL_DIR}
92cace
+#                           )
92cace
+#    endif(NOT WIN32)
92cace
 
92cace
     install(TARGETS kdedeprecated  DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/designer )
92cace
   endif(NOT KDE_NO_DEPRECATED)
92cace
@@ -111,14 +111,14 @@ if(QT_QTDESIGNER_FOUND)
92cace
   kde4_add_plugin(kdewebkitwidgets ${kdewebkitwidgets_PART_SRCS})
92cace
 
92cace
   target_link_libraries(kdewebkitwidgets ${KDE4_KDEUI_LIBS} ${KDE4_KDEWEBKIT_LIBS} ${QT_QTWEBKIT_LIBRARY})
92cace
-  if(NOT WIN32)
92cace
-    set_target_properties(kdewebkitwidgets PROPERTIES
92cace
-                                     INSTALL_RPATH_USE_LINK_PATH TRUE
92cace
-                                     SKIP_BUILD_RPATH TRUE
92cace
-                                     BUILD_WITH_INSTALL_RPATH TRUE
92cace
-                                     INSTALL_RPATH ${LIB_INSTALL_DIR}
92cace
-                         )
92cace
-  endif(NOT WIN32)
92cace
+#  if(NOT WIN32)
92cace
+#    set_target_properties(kdewebkitwidgets PROPERTIES
92cace
+#                                     INSTALL_RPATH_USE_LINK_PATH TRUE
92cace
+#                                     SKIP_BUILD_RPATH TRUE
92cace
+#                                     BUILD_WITH_INSTALL_RPATH TRUE
92cace
+#                                     INSTALL_RPATH ${LIB_INSTALL_DIR}
92cace
+#                         )
92cace
+#  endif(NOT WIN32)
92cace
 
92cace
   install(TARGETS kdewebkitwidgets  DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/designer )
92cace
 
92cace
@@ -147,14 +147,14 @@ if(QT_QTDESIGNER_FOUND)
92cace
      kde4_add_plugin(kde3supportwidgets ${kde3supportwidgets_PART_SRCS})
92cace
 
92cace
      target_link_libraries(kde3supportwidgets ${KDE4_KDE3SUPPORT_LIBS} ${KDE4_KIO_LIBS})
92cace
-     if(NOT WIN32)
92cace
-        set_target_properties(kde3supportwidgets PROPERTIES
92cace
-                                     INSTALL_RPATH_USE_LINK_PATH TRUE
92cace
-                                     SKIP_BUILD_RPATH TRUE
92cace
-                                     BUILD_WITH_INSTALL_RPATH TRUE
92cace
-                                     INSTALL_RPATH ${LIB_INSTALL_DIR}
92cace
-                             )
92cace
-     endif(NOT WIN32)
92cace
+#     if(NOT WIN32)
92cace
+#        set_target_properties(kde3supportwidgets PROPERTIES
92cace
+#                                     INSTALL_RPATH_USE_LINK_PATH TRUE
92cace
+#                                     SKIP_BUILD_RPATH TRUE
92cace
+#                                     BUILD_WITH_INSTALL_RPATH TRUE
92cace
+#                                     INSTALL_RPATH ${LIB_INSTALL_DIR}
92cace
+#                             )
92cace
+#     endif(NOT WIN32)
92cace
 
92cace
      install(TARGETS kde3supportwidgets  DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/designer )
92cace
   endif (QT_QT3SUPPORT_FOUND)