You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
0eb49d9038
* python38: add note to keep py38-gdbm and py38-tkinter versions in sync * python38: update patch-setup.py.diff * python38: refresh patches to apply cleanly - patch-Lib-cgi.py.diff - patch-configure.diff - patch-Lib-ctypes-macholib-dyld.py.diff - patch-libedit.diff - patch-configure-xcode4bug.diff * python38: update python3-python38 select file * python38: add patch-_osx_support.py.diff - handle -isysroot without a space * python38: use compiler.blacklist-append * python38: fix linking flags, rev bump to rebuild Closes: https://trac.macports.org/ticket/59518
19 lines
808 B
Diff
19 lines
808 B
Diff
--- Lib/cgi.py.orig 2019-12-10 08:28:12.000000000 -0500
|
|
+++ Lib/cgi.py 2019-12-10 08:29:06.000000000 -0500
|
|
@@ -1,13 +1,6 @@
|
|
-#! /usr/local/bin/python
|
|
+#! @@PREFIX@@/bin/python3.8
|
|
|
|
-# 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: /usr/local/bin/python patched for MacPorts installation
|
|
|
|
"""Support module for CGI (Common Gateway Interface) scripts.
|
|
|