summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt/apt/0001-cmake-Do-not-build-po-files.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/apt/apt/0001-cmake-Do-not-build-po-files.patch')
-rw-r--r--meta/recipes-devtools/apt/apt/0001-cmake-Do-not-build-po-files.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt/0001-cmake-Do-not-build-po-files.patch b/meta/recipes-devtools/apt/apt/0001-cmake-Do-not-build-po-files.patch
new file mode 100644
index 0000000000..036ce35963
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt/0001-cmake-Do-not-build-po-files.patch
@@ -0,0 +1,36 @@
1From 33347f9f8301633b01af4e208b7be5fdfcb0df0c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 20 Mar 2021 14:45:18 -0700
4Subject: [PATCH] cmake: Do not build po files
5
6Fixes
7| CMake Error at CMakeLists.txt:252 (add_dependencies):
8| The dependency target "update-po4a" of target "update-po" does not exist.
9|
10
11Upstream-Status: Inappropriate [Cross-compile specific]
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 CMakeLists.txt | 7 -------
15 1 file changed, 7 deletions(-)
16
17diff --git a/CMakeLists.txt b/CMakeLists.txt
18index be157a55f..54163ae6c 100644
19--- a/CMakeLists.txt
20+++ b/CMakeLists.txt
21@@ -252,15 +252,6 @@ add_subdirectory(ftparchive)
22 add_subdirectory(methods)
23 add_subdirectory(test)
24
25-if (USE_NLS)
26-add_subdirectory(po)
27-endif()
28-
29-if(TARGET update-po AND TARGET update-po4a)
30-# Link update-po4a into the update-po target
31-add_dependencies(update-po update-po4a)
32-endif()
33-
34 # Create our directories.
35 install_empty_directories(
36 ${CONF_DIR}/apt.conf.d