Ticket #12389: patch-setupext.py.diff

File patch-setupext.py.diff, 834 bytes (added by mdroe@…, 17 years ago)
  • 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'],
     
    132131                     [os.path.join(p, 'lib64')     for p in basedir[sys.platform] ] )
    133132
    134133    module.include_dirs.extend(incdirs)
     134    module.include_dirs.extend(['@@DPORTS_PREFIX@@/include/python2.5'])
    135135    module.include_dirs.append('.')
    136136    module.library_dirs.extend(libdirs)
    137137