Ticket #21268: python_select.diff

File python_select.diff, 1.1 KB (added by nerdling (Jeremy Lavergne), 15 years ago)

suggestion for a fix

  • files/base

     
    66bin/smtpd.py
    77share/man/man1/python.1
    88share/man/man1/python.1.gz
    9 Library/Frameworks/Python.framework/Versions/Current
    10 Library/Frameworks/Python.framework/Headers
    11 Library/Frameworks/Python.framework/Resources
    12 Library/Frameworks/Python.framework/Python
     9@@FRAMEWORKS_PATH@@/Python.framework/Versions/Current
     10@@FRAMEWORKS_PATH@@/Python.framework/Headers
     11@@FRAMEWORKS_PATH@@/Python.framework/Resources
     12@@FRAMEWORKS_PATH@@/Python.framework/Python
  • Portfile

     
    2323post-destroot {
    2424    xinstall -m 755 -d ${destroot}${prefix}/etc/select/python
    2525    xinstall -m 644 -W ${filespath} base none ${destroot}${prefix}/etc/select/python
     26    reinplace s|@@FRAMEWORKS_PATH@@|[sbustr ${frameworks_dir} $prefix]|g ${destroot}${prefix}/etc/select/python/base
    2627}
    2728
    2829platform darwin 7 {