Ticket #3257: patch-setupext.py.diff

File patch-setupext.py.diff, 827 bytes (added by cmalek@…, 19 years ago)

patch to setupext.py for matplotlib-0.82

  • setupext.py

    old new  
    3939    'linux'  : ['/usr/local', '/usr',],
    4040    # Charles Moad recommends not putting in /usr/X11R6 for darwin
    4141    # because freetype in this dir is too old for mpl
    42     'darwin' : ['/sw/lib/freetype219', '/usr/local', '/usr', '/sw'],
     42    'darwin' : ['@@DPORTS_PREFIX@@', '/usr'],
    4343    'freebsd4' : ['/usr/local', '/usr'],
    4444    'freebsd5' : ['/usr/local', '/usr'],
    4545    'freebsd6' : ['/usr/local', '/usr'],   
     
    9797    libdirs = [os.path.join(p, 'lib')     for p in basedir[sys.platform]
    9898               if os.path.exists(p)]
    9999    module.include_dirs.extend(incdirs)
     100    module.include_dirs.extend(['@@DPORTS_PREFIX@@/include/python2.4'])
    100101    module.library_dirs.extend(libdirs)
    101102
    102103