svn commit: r461515 - head/lang/python36

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Feb 11 16:52:54 UTC 2018


Author: sunpoet
Date: Sun Feb 11 16:52:53 2018
New Revision: 461515
URL: https://svnweb.freebsd.org/changeset/ports/461515

Log:
  Remove over-patched shebang fix of Lib/cgi.py
  
  The change from /usr/local/bin/python to /usr/local/bin/python3.6 is already done by USES=shebangfix.
  
  % head -1 /usr/local/lib/python3.6/cgi.py
  #!/usr/local/bin/python3.63.6

Modified:
  head/lang/python36/Makefile

Modified: head/lang/python36/Makefile
==============================================================================
--- head/lang/python36/Makefile	Sun Feb 11 16:52:48 2018	(r461514)
+++ head/lang/python36/Makefile	Sun Feb 11 16:52:53 2018	(r461515)
@@ -128,8 +128,6 @@ post-patch:
 		"s|lib_dirs,\ \'readline\'|[\'${LOCALBASE}/lib\',\ \'.\'],\ \'readline\'|" \
 		${WRKSRC}/setup.py
 .endif
-	${REINPLACE_CMD} -e 's|/usr/local/bin/python|${python_CMD}|' \
-		${WRKSRC}/Lib/cgi.py
 
 post-install:
 .if ! ${PORT_OPTIONS:MDEBUG}


More information about the svn-ports-head mailing list