qt*: refresh the patches
[scm/bb/tizen-distro.git] / meta-qt5 / recipes-qt / qt5 / qtbase / 0013-configure-preserve-built-qmake-and-swap-with-native-.patch
1 From 68bd66b37455f9b27b2f030948943942e12b3af1 Mon Sep 17 00:00:00 2001
2 From: Denys Dmytriyenko <denys@ti.com>
3 Date: Mon, 11 Nov 2013 20:22:34 -0500
4 Subject: [PATCH 13/13] configure: preserve built qmake and swap with native
5  one
6
7 Let configure script build the real qmake, but right after it's built, swap
8 it with a native qmake for further internal use, preserving the real one.
9
10 Signed-off-by: Denys Dmytriyenko <denys@ti.com>
11 ---
12  configure | 2 ++
13  1 file changed, 2 insertions(+)
14
15 diff --git a/configure b/configure
16 index ca0824f..2c097c3 100755
17 --- a/configure
18 +++ b/configure
19 @@ -3825,6 +3825,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
20  
21      (cd "$outpath/qmake"; "$MAKE") || exit 2
22  fi # Build qmake
23 +mv "$outpath/bin/qmake" "$outpath/bin/qmake-real"
24 +mv "$outpath/bin/qmake-native" "$outpath/bin/qmake"
25  
26  echo "Running configuration tests..."
27  
28 -- 
29 2.1.1
30