[91887] trunk/dports/lang/python27/files/patch-Lib-cgi.py.diff
blair at macports.org
blair at macports.org
Thu Apr 12 07:43:35 PDT 2012
Revision: 91887
https://trac.macports.org/changeset/91887
Author: blair at macports.org
Date: 2012-04-12 07:43:33 -0700 (Thu, 12 Apr 2012)
Log Message:
-----------
python27: update #! to use python2.7 instead of 2.6 and improve comment.
Modified Paths:
--------------
trunk/dports/lang/python27/files/patch-Lib-cgi.py.diff
Modified: trunk/dports/lang/python27/files/patch-Lib-cgi.py.diff
===================================================================
--- trunk/dports/lang/python27/files/patch-Lib-cgi.py.diff 2012-04-12 11:22:08 UTC (rev 91886)
+++ trunk/dports/lang/python27/files/patch-Lib-cgi.py.diff 2012-04-12 14:43:33 UTC (rev 91887)
@@ -2,7 +2,7 @@
+++ Lib/cgi.py 2007-08-21 15:36:54.000000000 +0200
@@ -1,13 +1,6 @@
-#! /usr/local/bin/python
-+#! @@PREFIX@@/bin/python2.6
++#! @@PREFIX@@/bin/python2.7
-# NOTE: the above "/usr/local/bin/python" is NOT a mistake. It is
-# intentionally NOT "/usr/bin/env python". On many systems
@@ -12,7 +12,7 @@
-# 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: /usr/local/bin/python patched for MacPorts installation
++# NOTE: The original #!/usr/local/bin/python patched for MacPorts installation
"""Support module for CGI (Common Gateway Interface) scripts.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120412/c46c52d7/attachment.html>
More information about the macports-changes
mailing list