Support multiarch paths on kfreebsd and hurd
Patch multiarch_basic_support.diff updated. (Closes: #630167)
This commit is contained in:
parent
46f54f9bc9
commit
ffb5fc4662
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -2,6 +2,8 @@ cmake (2.8.4+dfsg.1-5) UNRELEASED; urgency=low
|
||||
|
||||
* Fix multiarch regex to support armel and (hopefully) all other possible
|
||||
linux architectures (patch multiarch_basic_support.diff updated).
|
||||
* Support multiarch paths on kfreebsd and hurd (patch
|
||||
multiarch_basic_support.diff updated). (Closes: #630167)
|
||||
|
||||
-- Modestas Vainius <modax@debian.org> Sat, 11 Jun 2011 22:15:57 +0300
|
||||
|
||||
|
17
debian/patches/multiarch_basic_support.diff
vendored
17
debian/patches/multiarch_basic_support.diff
vendored
@ -6,6 +6,7 @@ Subject: [PATCH 1/2] Teach find_(library|package) about Linux multiarch (#12037)
|
||||
Acked-By: Modestas Vainius <modax@debian.org>
|
||||
Origin: upstream, http://public.kitware.com/Bug/file_download.php?file_id=3920&type=bug
|
||||
http://public.kitware.com/Bug/file_download.php?file_id=3921&type=bug
|
||||
Last-Update: 2011-06-11 (arm-linux-gnueabi*, kfreebsd, hurd support)
|
||||
|
||||
Implement support for multiarch as specified here:
|
||||
|
||||
@ -383,3 +384,19 @@ search <prefix>/lib/<arch> whenever they would search <prefix>/lib.
|
||||
+++ b/Tests/FindPackageTest/lib/arch/zot-3.1/zot-config.cmake
|
||||
@@ -0,0 +1 @@
|
||||
+# Test config file.
|
||||
--- a/Modules/Platform/kFreeBSD.cmake
|
||||
+++ b/Modules/Platform/kFreeBSD.cmake
|
||||
@@ -1,2 +1,4 @@
|
||||
# kFreeBSD looks just like Linux.
|
||||
INCLUDE(Platform/Linux)
|
||||
+
|
||||
+SET(CMAKE_LIBRARY_ARCHITECTURE_REGEX "[a-z0-9_]+(-[a-z0-9_]+)?-kfreebsd-gnu[a-z0-9_]*")
|
||||
--- a/Modules/Platform/GNU.cmake
|
||||
+++ b/Modules/Platform/GNU.cmake
|
||||
@@ -8,4 +8,6 @@ SET(CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FL
|
||||
SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
|
||||
SET(CMAKE_EXE_EXPORTS_C_FLAG "-Wl,--export-dynamic")
|
||||
|
||||
+SET(CMAKE_LIBRARY_ARCHITECTURE_REGEX "[a-z0-9_]+(-[a-z0-9_]+)?-gnu[a-z0-9_]*")
|
||||
+
|
||||
INCLUDE(Platform/UnixPaths)
|
||||
|
Loading…
x
Reference in New Issue
Block a user