Ticket #3695: Portfile.diff
File Portfile.diff, 1.2 KB (added by yves@…, 19 years ago) |
---|
-
Portfile
old new 50 50 build.target-append libpython.${version}.dylib 51 51 52 52 variant puredarwin { 53 configure.args-delete --enable-framework 53 54 configure.args-append --disable-toolbox-glue \ 54 55 --disable-framework 56 destroot.target install 55 57 } 56 58 57 59 variant no-tk { … … 61 63 } 62 64 63 65 post-destroot { 66 if {[variant_isset puredarwin]} { 67 set py_destroot_libs ${destroot}${prefix}/lib 68 } else { 69 set py_destroot_libs ${destroot}/Library/Frameworks/Python.framework/Libraries 64 70 system "cd ${destroot}/Library/Frameworks/Python.framework/ && \ 65 71 ln -s Versions/Current/lib Libraries" 66 system "cd ${destroot}/Library/Frameworks/Python.framework/Libraries && \ 67 ln -s libpython.2.4.1.dylib libpython.2.4.dylib && \ 68 ln -s libpython.2.4.1.dylib libpython.2.dylib && \ 69 ln -s libpython.2.4.1.dylib libpython.dylib" 72 } 73 system "cd ${py_destroot_libs} && \ 74 ln -s libpython.2.4.1.dylib libpython.2.4.dylib && \ 75 ln -s libpython.2.4.1.dylib libpython.2.dylib && \ 76 ln -s libpython.2.4.1.dylib libpython.dylib" 70 77 }