Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 688668
Collapse All | Expand All

(-)file_not_specified_in_diff (-1 / +5 lines)
Line  Link Here
0
-- M2Crypto-0.31.0/setup.py
0
++ M2Crypto-0.31.0/setup.py
Lines 164-169 Link Here
164
            # For RedHat-based distros, the '-D__{arch}__' option for
164
            # For RedHat-based distros, the '-D__{arch}__' option for
165
            # Swig needs to be normalized, particularly on i386.
165
            # Swig needs to be normalized, particularly on i386.
166
            mach = platform.machine().lower()
166
            mach = platform.machine().lower()
167
            if 'CHOST' in os.environ:
168
                chost = os.environ['CHOST'].split('-')
169
                if len(chost) >= 3:
170
                    mach = chost[0]
167
            if mach in ('i386', 'i486', 'i586', 'i686'):
171
            if mach in ('i386', 'i486', 'i586', 'i686'):
168
                arch = '__i386__'
172
                arch = '__i386__'
169
            elif mach in ('ppc64', 'powerpc64', 'ppc64le', 'ppc64el'):
173
            elif mach in ('ppc64', 'powerpc64', 'ppc64le', 'ppc64el'):

Return to bug 688668