summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/files/qmake-exists-check.patch
blob: 27d21e045b4ebd1930a091c7d171a62cbbc84e50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
qt4-tools-nativesdk: avoid rebuilding qmake

qt4-tools-nativesdk patch to avoids building qmake in configure if it already exists 
(as it will, since we symlink it in from the native sysroot in do_configure)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Upstream-Status: Inappropriate [configuration]

--- qt-everywhere-opensource-src-4.6.3.orig/configure	2011-01-10 12:01:56.260607001 +0000
+++ qt-everywhere-opensource-src-4.6.3/configure	2011-01-10 12:02:20.584607015 +0000
@@ -4286,7 +4286,7 @@
 }
 
 # build qmake
-if true; then ###[ '!' -f "$outpath/bin/qmake" ];
+if [ '!' -f "$outpath/bin/qmake" ]; then
     echo "Creating qmake. Please wait..."
 
     OLD_QCONFIG_H=