Ticket #56092: pyqt4_ppc64.patch

File pyqt4_ppc64.patch, 874 bytes (added by sideeffect42 (Dennis Camera), 6 years ago)
  • configure.py

     
    206206    if sys.platform == 'darwin':
    207207        g = optparse.OptionGroup(p, title="MacOS X Configuration")
    208208        g.add_option("--use-arch", action="append", metavar="ARCH",
    209                 dest="use_arch", choices=["i386", "x86_64", "ppc"],
     209                dest="use_arch", choices=["i386", "x86_64", "ppc", "ppc64"],
    210210                help="add ARCH to the list of architectures to use when "
    211211                        "running pyuic4 [default: system default]")
    212212        p.add_option_group(g)
     
    10481048            qmake_archs.append('x86_64')
    10491049        elif a == 'ppc':
    10501050            qmake_archs.append('ppc')
     1051        elif a == 'ppc64':
     1052            qmake_archs.append('ppc64')
    10511053
    10521054    return 'CONFIG += %s\n' % ' '.join(qmake_archs)
    10531055