Ticket #16765: 0004-Fix-library-and-framework-install-discrepancy-ticke.patch

File 0004-Fix-library-and-framework-install-discrepancy-ticke.patch, 1.2 KB (added by blb@…, 12 years ago)

0004-Fix-library-and-framework-install-discrepancy-ticke.patch

  • Portfile

    diff --git a/Portfile b/Portfile
    index c142291..f924b9d 100644
    a b if {![info exists frameworks_dir]} { 
    3636   set frameworks_dir ${prefix}/Library/Frameworks
    3737}
    3838
    39 patchfiles              patch-Makefile.pre.in.diff \
    40                         patch-setup.py.diff \
     39patchfiles              patch-setup.py.diff \
    4140                        patch-Lib-cgi.py.diff \
    4241                        patch-Mac-IDLE-Makefile.in.diff \
    4342                        patch-Mac-Makefile.in.diff \
    post-patch { 
    6564      ${worksrcpath}/Mac/PythonLauncher/Makefile.in
    6665}
    6766
    68 build.target            all libpython${branch}.dylib
     67build.target            all
    6968
    7069test.run                yes
    7170test.target             test
    post-destroot { 
    8180      ln -s ${prefix}/${dir}/python${branch} ${destroot}${framewdir}/${dir}/python${branch}
    8281   }
    8382
    84    file rename ${destroot}${framewdir}/lib/libpython${branch}.dylib ${destroot}${prefix}/lib
    85    ln -s ${prefix}/lib/libpython${branch}.dylib ${destroot}${framewdir}/lib/libpython${branch}.dylib
     83   ln -s ${framewdir}/Python ${destroot}${prefix}/lib/libpython${branch}.dylib
    8684
    8785   file rename ${destroot}${prefix}/share/man/man1/python.1 ${destroot}${prefix}/share/man/man1/python${branch}.1
    8886