Ticket #16775: python25-applications_dir.diff
File python25-applications_dir.diff, 749 bytes (added by jmroot (Joshua Root), 16 years ago) |
---|
-
lang/python25/Portfile
43 43 44 44 use_parallel_build no 45 45 46 if {![info exists applications_dir]} { 47 set applications_dir /Applications/MacPorts 48 } 49 46 50 post-patch { 47 51 reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Lib/cgi.py 48 reinplace "s|/Applications/MacPython| /Applications/MacPorts/MacPython|g" \52 reinplace "s|/Applications/MacPython|${applications_dir}/MacPython|g" \ 49 53 Mac/Makefile.in Mac/IDLE/Makefile.in \ 50 54 Mac/IDLE/Makefile.in Mac/Tools/Doc/setup.py \ 51 55 Mac/PythonLauncher/Makefile.in \