summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gpgme/gpgme/0008-do-not-auto-check-var-PYTHON.patch
blob: a11621ed64598d6ad7d77da58f013d44481cbd20 (plain)
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
27
28
29
30
31
32
33
34
35
From 84c389705e7742d2b68e144a5733e618441d293e Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Fri, 10 May 2019 16:19:54 +0800
Subject: [PATCH] do not auto check var-PYTHON

Upstream auto check the version of python rather than specify option
[ff6ff61 python: Auto-check for all installed python versions.]

In oe-core, don't check var-PYTHON, use the setting from recipe,
only check specific python 2.7 and 3.7

Upstream-Status: Inappropriate [oe-core specific]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>

---
 configure.ac | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index df892c9..8c6194e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -590,9 +590,8 @@ if test "$found_py" = "1"; then
 	if test "$found_py" = "1" -o "$found_py3" = "1"; then
 	  # Reset everything, so that we can look for another Python.
           m4_foreach([mym4pythonver],
-                     [[2.7],[3.4],[3.5],[3.6],[3.7],[3.8],[3.9],[3.10],
-                      [3.11],[3.12],[all]],
-           [unset PYTHON
+                     [[2.7],[3.7]],
+           [
 	    unset PYTHON_VERSION
 	    unset PYTHON_CPPFLAGS
 	    unset PYTHON_LDFLAGS