libgtk3: remove non-existent configure options
[buildroot-gz.git] / package / python-pyqt / 0001-configure-skip-qtdetail.patch
blob08e99d026c2c35cb38dba999d0d08e3e267b42cf
1 Do not run qtdetail
3 qtdetail is a tool that generates qtdetail.out. Since this program is
4 cross-compiled, it's not possible to run it on the host.
6 Consequently, python-pyqt.mk generates the qtdetail.out file before
7 calling configure-ng.py.
9 Therefore, this patch makes sure that the pre-generated qtdetail.out
10 file is kept, and that qtdetail is not executed.
12 Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
13 Signed-off-by: Sergey Kostanbaev <sergey.kostanbaev@gmail.com>
14 ---
15 Index: PyQt-x11-gpl-4.11.3/configure-ng.py
16 ===================================================================
17 --- PyQt-x11-gpl-4.11.3.orig/configure-ng.py
18 +++ PyQt-x11-gpl-4.11.3/configure-ng.py
19 @@ -672,10 +672,6 @@ int main(int argc, char **argv)
20 if cmd is None:
21 error("Failed to determine the detail of your Qt installation. Try again using the --verbose flag to see more detail about the problem.")
23 - # Create the output file, first making sure it doesn't exist.
24 - remove_file(out_file)
25 - run_command(cmd, verbose)
27 if not os.access(out_file, os.F_OK):
28 error("%s failed to create %s. Make sure your Qt installation is correct." % (cmd, out_file))