1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
Description: don't install don't install to /usr/lib64 just because it exists in build env
This package fails to build in Ubuntu and in Debian because both are
using usrmerge in their build environments, which causes /usr/lib64 to exist
and the upstream build system to wrongly install files to it instead of to
/usr/lib. Patch the build system to never use /usr/lib64 as this is always
wrong for a Debian package.
Author: Steve Langasek <steve.langasek@ubuntu.com>
Last-Update: 2022-08-22
Forwarded: https://github.com/Aorimn/dislocker/issues/300
Index: dislocker-0.7.3/src/CMakeLists.txt
===================================================================
--- dislocker-0.7.3.orig/src/CMakeLists.txt
+++ dislocker-0.7.3/src/CMakeLists.txt
@@ -154,11 +154,7 @@
if(NOT DEFINED LIB_INSTALL_DIR)
if(NOT DEFINED libdir)
- if(IS_DIRECTORY "${CMAKE_INSTALL_PREFIX}/lib64")
- set(libdir "${CMAKE_INSTALL_PREFIX}/lib64")
- else()
- set(libdir "${CMAKE_INSTALL_PREFIX}/lib")
- endif()
+ set(libdir "${CMAKE_INSTALL_PREFIX}/lib")
endif()
else()
set(libdir ${LIB_INSTALL_DIR})
|