svn commit: r498910 - head/lang/python36

Antoine Brodin antoine at FreeBSD.org
Sun Apr 14 16:27:27 UTC 2019


Author: antoine
Date: Sun Apr 14 16:27:25 2019
New Revision: 498910
URL: https://svnweb.freebsd.org/changeset/ports/498910

Log:
  Recompile _sysconfigdata.py after reinplacing it
  
  Reported by:	tcberner
  With hat:	portmgr

Modified:
  head/lang/python36/Makefile

Modified: head/lang/python36/Makefile
==============================================================================
--- head/lang/python36/Makefile	Sun Apr 14 15:41:24 2019	(r498909)
+++ head/lang/python36/Makefile	Sun Apr 14 16:27:25 2019	(r498910)
@@ -130,6 +130,12 @@ post-install:
 .if ${CC} == /nxb-bin/usr/bin/cc
 	@${REINPLACE_CMD} -e 's=/nxb-bin==' \
 		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_m_freebsd${OSREL:R}_.py
+	@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
+		./python -E -m compileall -d ${PREFIX}/lib/python${PYTHON_VER} \
+		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_m_freebsd${OSREL:R}_.py
+	@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
+		./python -E -O -m compileall -d ${PREFIX}/lib/python${PYTHON_VER} \
+		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_m_freebsd${OSREL:R}_.py
 	@${REINPLACE_CMD} -e 's=/nxb-bin==' \
 		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/config-${PYTHON_VER}m/Makefile
 .endif


More information about the svn-ports-head mailing list