Ticket #19906: python25.diff

File python25.diff, 887 bytes (added by blb@…, 15 years ago)

diff to python25

  • Portfile

     
    55
    66name                    python25
    77version                 2.5.4
    8 revision                5
     8revision                6
    99set branch              [join [lrange [split ${version} .] 0 1] .]
    1010categories              lang
    1111platforms               darwin
     
    112112        foreach dir { Headers Resources Python Versions/Current } {
    113113            file delete ${destroot}${framewpath}/${dir}
    114114        }
     115
     116        # Fix incorrectly-pointed libpython2.5.a symlink, see
     117        # http://trac.macports.org/ticket/19906
     118        set python_staticlink ${destroot}${prefix}/lib/python${branch}/config/libpython${branch}.a
     119        file delete ${python_staticlink}
     120        ln -s ${framewdir}/Python ${python_staticlink}
    115121}
    116122}
    117123