[debhelper-devel] Bug#641051: debhelper: cmake and multiarch -- another possible patches
Osamu Aoki
osamu at debian.org
Sat Feb 8 23:55:23 UTC 2014
Hi,
Here is another proposal for patch based on the third case.
-DCMAKE_LIBRARY_ARCHITECTURE=$(DEB_HOST_MULTIARCH)
This also requires to patch upstream CMakeLists.txt as -DCMAKE_INSTALL_LIBDIR
This time, I did not forget to set $multiarch as you may have already
noticed. (Previous ones needs to be fixed)
The question is which works across many compile cases including *cross
compile*?
Here is the background. This is based on http://bugs.debian.org/704812
Also these is anothe case with more info http://bugs.debian.org/635980
This is the related upstream info page
http://www.cmake.org/Wiki/CMake/Tutorials/Packaging#Package_Configuration_Files
http://cmake.org/cmake/help/v2.8.8/cmake.html#command:find_library
| Search paths specified in cmake-specific cache variables. These are
| intended to be used on the command line with a -DVAR=value.
|
| <prefix>/lib/<arch> if CMAKE_LIBRARY_ARCHITECTURE is set, and
| <prefix>/lib for each <prefix> in CMAKE_PREFIX_PATH
| CMAKE_LIBRARY_PATH
| CMAKE_FRAMEWORK_PATH
Regards,
Osamu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-MAKE_LIBRARY_ARCHITECTUR.patch
Type: text/x-diff
Size: 885 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20140209/53cadb8d/attachment-0002.patch>
More information about the debhelper-devel
mailing list