Changeset 71942


Ignore:
Timestamp:
Sep 28, 2010, 9:42:53 AM (10 years ago)
Author:
jmr@…
Message:

python24 portgroup: set variables correctly when python is not built as a framework (#25557)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/python24-1.0.tcl

    r44894 r71942  
    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 isfile ${python.include}/Python.h] &&
     42    ([file isfile ${prefix}/include/python${python.branch}/Python.h] || [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
Note: See TracChangeset for help on using the changeset viewer.