File 0000-libdir.patch of Package CodeLite
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ebb06b718..74e6eb66b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -277,27 +277,27 @@ endif()
# Override defaults with user input
# ######################################################################################################################
-set(CL_INSTALL_LIBDIR "lib")
-
-if(NOT MINGW)
- if(NOT CL_PREFIX)
- # If the caller hasn't set his own destination, install to a multi-arch lib dir if applicable
- if(CMAKE_VERSION VERSION_GREATER 2.8.7 AND (UNIX AND NOT APPLE))
- if(CMAKE_VERSION VERSION_GREATER 3.0.0)
- # Prior to this, afaict the GNUInstallDirs module worked whatever the prefix Since, it looks at
- # CMAKE_INSTALL_PREFIX which is /usr/local by default, and refuses to run the multiarch-setting code
- # unless it's /usr/ So, partly to comply with the default documented above, & partly for packaging,
- # explicitly set it to /usr
- set(CMAKE_INSTALL_PREFIX "/usr")
- endif()
- include(GNUInstallDirs) # defines CMAKE_INSTALL_LIBDIR to lib or lib64 or whatever. Available since cmake
- # 2.8.8
- set(CL_INSTALL_LIBDIR ${CMAKE_INSTALL_LIBDIR})
- endif()
-
- set(CL_PREFIX "/usr")
- endif(NOT CL_PREFIX)
-endif()
+set(CL_INSTALL_LIBDIR ${CMAKE_INSTALL_LIBDIR})
+
+#if(NOT MINGW)
+# if(NOT CL_PREFIX)
+# # If the caller hasn't set his own destination, install to a multi-arch lib dir if applicable
+# if(CMAKE_VERSION VERSION_GREATER 2.8.7 AND (UNIX AND NOT APPLE))
+# if(CMAKE_VERSION VERSION_GREATER 3.0.0)
+# # Prior to this, afaict the GNUInstallDirs module worked whatever the prefix Since, it looks at
+# # CMAKE_INSTALL_PREFIX which is /usr/local by default, and refuses to run the multiarch-setting code
+# # unless it's /usr/ So, partly to comply with the default documented above, & partly for packaging,
+# # explicitly set it to /usr
+# set(CMAKE_INSTALL_PREFIX "/usr")
+# endif()
+# include(GNUInstallDirs) # defines CMAKE_INSTALL_LIBDIR to lib or lib64 or whatever. Available since cmake
+# # 2.8.8
+# set(CL_INSTALL_LIBDIR ${CMAKE_INSTALL_LIBDIR})
+# endif()
+#
+# set(CL_PREFIX "/usr")
+# endif(NOT CL_PREFIX)
+#endif()
# Define the PLUGINS_DIR variable
if(MINGW)