Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2018 16:52:53 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461515 - head/lang/python36
Message-ID:  <201802111652.w1BGqrUC025976@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802111652.w1BGqrUC025976>