Ticket #25557: python24-1.0.tcl.diff

File python24-1.0.tcl.diff, 1.1 KB (added by jmroot (Joshua Root), 14 years ago)
  • _resources/port1.0/group/python24-1.0.tcl

     
    3535set python.branch       2.4
    3636set python.bin  ${prefix}/bin/python${python.branch}
    3737set python.lib  ${prefix}/lib/libpython${python.branch}.dylib
    38 set python.libdir ${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}
    3938set python.pkgd ${prefix}/lib/python${python.branch}/site-packages
     39set python.libdir       ${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}
    4040set python.include      ${frameworks_dir}/Python.framework/Versions/${python.branch}/include/python${python.branch}
     41if {![file isdirectory ${frameworks_dir}/Python.framework/Versions/${python.branch}]
     42    && ([file isdirectory ${prefix}/lib/python${python.branch}] || [string match *64* $build_arch])} {
     43    set python.libdir   ${prefix}/lib/python${python.branch}
     44    set python.include  ${prefix}/include/python${python.branch}
     45}
    4146
    4247categories              python
    4348