diff options
| author | su_v <suv-sf@users.sourceforge.net> | 2014-09-16 16:22:35 +0000 |
|---|---|---|
| committer | ~suv <suv-sf@users.sourceforge.net> | 2014-09-16 16:22:35 +0000 |
| commit | 67be86628796a35cdef5b5b543b5e4661f7a416c (patch) | |
| tree | fcef3a8452bc72f27ffbae35d5b6d824e93c477a /packaging/macosx/ports/lang/python25/files/patch-Lib-cgi.py.diff | |
| parent | update to trunk (r13556) (diff) | |
| download | inkscape-67be86628796a35cdef5b5b543b5e4661f7a416c.tar.gz inkscape-67be86628796a35cdef5b5b543b5e4661f7a416c.zip | |
ports: maintain current ports for python25 and py25-* modules for packaging locally (support will likely be removed in upstream MacPorts)
(bzr r13506.1.98)
Diffstat (limited to 'packaging/macosx/ports/lang/python25/files/patch-Lib-cgi.py.diff')
| -rw-r--r-- | packaging/macosx/ports/lang/python25/files/patch-Lib-cgi.py.diff | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packaging/macosx/ports/lang/python25/files/patch-Lib-cgi.py.diff b/packaging/macosx/ports/lang/python25/files/patch-Lib-cgi.py.diff new file mode 100644 index 000000000..8153bebbd --- /dev/null +++ b/packaging/macosx/ports/lang/python25/files/patch-Lib-cgi.py.diff @@ -0,0 +1,18 @@ +--- Lib/cgi.py.orig 2006-08-10 19:41:07.000000000 +0200 ++++ Lib/cgi.py 2007-08-21 15:36:54.000000000 +0200 +@@ -1,13 +1,6 @@ +-#! /usr/local/bin/python ++#! __PREFIX__/bin/python2.5 + +-# NOTE: the above "/usr/local/bin/python" is NOT a mistake. It is +-# intentionally NOT "/usr/bin/env python". On many systems +-# (e.g. Solaris), /usr/local/bin is not in $PATH as passed to CGI +-# scripts, and /usr/local/bin is the default directory where Python is +-# installed, so /usr/bin/env would be unable to find python. Granted, +-# binary installations by Linux vendors often install Python in +-# /usr/bin. So let those vendors patch cgi.py to match their choice +-# of installation. ++# NOTE: The original #!/usr/local/bin/python patched for MacPorts installation + + """Support module for CGI (Common Gateway Interface) scripts. + |
