Ticket #14536: patch-python25-shebang.diff
File patch-python25-shebang.diff, 1.6 KB (added by raimue (Rainer Müller), 17 years ago) |
---|
-
files/patch-Lib-distutils-command-build_scripts.py.diff
1 --- Lib/distutils/command/build_scripts.py.orig 2008-03-01 22:08:37.000000000 +0100 2 +++ Lib/distutils/command/build_scripts.py 2008-03-01 22:09:06.000000000 +0100 3 @@ -104,7 +104,8 @@ 4 outf.write("#!%s%s\n" % 5 (os.path.join( 6 sysconfig.get_config_var("BINDIR"), 7 - "python" + sysconfig.get_config_var("EXE")), 8 + "python" + sysconfig.get_config_var("VERSION") 9 + + sysconfig.get_config_var("EXE")), 10 post_interp)) 11 outf.writelines(f.readlines()) 12 outf.close() -
Portfile
4 4 5 5 name python25 6 6 version 2.5.2 7 revision 1 7 8 categories lang 8 9 platforms darwin 9 10 maintainers mww … … 32 33 patch-Misc-setuid-prog.c.diff \ 33 34 patch-Modules-posixmodule.c.diff \ 34 35 patch-setup.py.diff \ 35 patch-Lib-cgi.py.diff 36 patch-Lib-cgi.py.diff \ 37 patch-Lib-distutils-command-build_scripts.py.diff 36 38 37 39 configure.args --enable-shared \ 38 40 --mandir=${prefix}/share/man \