summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libical/libical/Remove-cmake-check-for-Perl.patch
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@intel.com>2015-12-14 16:34:10 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-16 12:12:16 +0000
commit91c92fc09ea5353f040546d5fc3d134cb4faab9a (patch)
treec2392f719bf0190cf9c41a1ce8efd07e7e9b109f /meta/recipes-support/libical/libical/Remove-cmake-check-for-Perl.patch
parent5c6ff26cd85a5f710377959f92745b092866e234 (diff)
downloadpoky-91c92fc09ea5353f040546d5fc3d134cb4faab9a.tar.gz
libical: Upgrade 1.0.0 -> 1.0.1
* Build system changed to cmake * Patch build system to not check for perl (we use host perl which won't be found) * Patch build system to not break on parallel builds (From OE-Core rev: 8e6ab0617ab64ec93db5ca82f6c459be988e0287) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libical/libical/Remove-cmake-check-for-Perl.patch')
-rw-r--r--meta/recipes-support/libical/libical/Remove-cmake-check-for-Perl.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-support/libical/libical/Remove-cmake-check-for-Perl.patch b/meta/recipes-support/libical/libical/Remove-cmake-check-for-Perl.patch
new file mode 100644
index 0000000000..c5c0cb076e
--- /dev/null
+++ b/meta/recipes-support/libical/libical/Remove-cmake-check-for-Perl.patch
@@ -0,0 +1,33 @@
1From 918cd8764a845a9d25918a444fbaa5070d2be609 Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Fri, 21 Aug 2015 16:38:05 +0300
4Subject: [PATCH] Remove cmake check for Perl
5
6We set "CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY" in cmake bbclass to
7make sure cmake does not find host programs. In this case we actually
8are fine with host perl: remove the check.
9
10Upstream-Status: Inappropriate [workaround]
11
12Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
13---
14 CMakeLists.txt | 3 +--
15 1 file changed, 1 insertion(+), 2 deletions(-)
16
17diff --git a/CMakeLists.txt b/CMakeLists.txt
18index d5aad80..5cc9863 100644
19--- a/CMakeLists.txt
20+++ b/CMakeLists.txt
21@@ -91,8 +91,7 @@ if(SHARED_ONLY)
22 set(LIBRARY_TYPE SHARED)
23 endif()
24
25-# must have Perl to create the derived stuff
26-find_package(Perl REQUIRED)
27+set(PERL_EXECUTABLE perl)
28
29 # MSVC specific definitions
30 if(WIN32)
31--
322.1.4
33