Ticket #9416: patch-setupext.py.diff

File patch-setupext.py.diff, 843 bytes (added by skymoo (Adam Mercer), 18 years ago)

updated patch to setupext.py for 0.87.4

  • setupext.py

    old new  
    4848    'linux2' : ['/usr/local', '/usr',],
    4949    'linux'  : ['/usr/local', '/usr',],
    5050    'cygwin' : ['/usr/local', '/usr',],
    51     'darwin' : ['/sw/lib/freetype2', '/sw/lib/freetype219', '/usr/local',
    52                 '/usr', '/sw'],
     51    'darwin' : ['@@DPORTS_PREFIX@@', '/usr'],
    5352    'freebsd4' : ['/usr/local', '/usr'],
    5453    'freebsd5' : ['/usr/local', '/usr'],
    5554    'freebsd6' : ['/usr/local', '/usr'],   
     
    130129                     [os.path.join(p, 'lib64')     for p in basedir[sys.platform] ] )
    131130
    132131    module.include_dirs.extend(incdirs)
     132    module.include_dirs.extend(['@@DPORTS_PREFIX@@/include/python2.4'])
    133133    module.include_dirs.append('.')   
    134134    module.library_dirs.extend(libdirs)
    135135