View | Details | Raw Unified | Return to bug 242896 | Differences between
and this patch

Collapse All | Expand All

(-)b/lang/python35/Makefile (-1 / +10 lines)
Lines 138-145 post-install: Link Here
138
.if ${CC} == /nxb-bin/usr/bin/cc
138
.if ${CC} == /nxb-bin/usr/bin/cc
139
	@${REINPLACE_CMD} -e 's=/nxb-bin==' \
139
	@${REINPLACE_CMD} -e 's=/nxb-bin==' \
140
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata.py
140
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata.py
141
	@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
142
		./python -E -m compileall -d ${PREFIX}/lib/python${PYTHON_VER} \
143
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata.py
144
	@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
145
		./python -E -O -m compileall -d ${PREFIX}/lib/python${PYTHON_VER} \
146
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata.py
147
	@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
148
		./python -E -OO -m compileall -d ${PREFIX}/lib/python${PYTHON_VER} \
149
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata.py
141
	@${REINPLACE_CMD} -e 's=/nxb-bin==' \
150
	@${REINPLACE_CMD} -e 's=/nxb-bin==' \
142
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/config-${PYTHON_VER}m/Makefile
151
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/config-${PYTHON_VER}${ABIFLAGS}/Makefile
143
.endif
152
.endif
144
	for i in ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/lib-dynload/*.so; do \
153
	for i in ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/lib-dynload/*.so; do \
145
		${STRIP_CMD} $$i; done								# Strip shared extensions
154
		${STRIP_CMD} $$i; done								# Strip shared extensions
(-)b/lang/python36/Makefile (-4 / +7 lines)
Lines 134-148 post-install: Link Here
134
# FreeBSD base system provides.  sbruno 02Aug2017
134
# FreeBSD base system provides.  sbruno 02Aug2017
135
.if ${CC} == /nxb-bin/usr/bin/cc
135
.if ${CC} == /nxb-bin/usr/bin/cc
136
	@${REINPLACE_CMD} -e 's=/nxb-bin==' \
136
	@${REINPLACE_CMD} -e 's=/nxb-bin==' \
137
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_m_freebsd${OSREL:R}_.py
137
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_${ABIFLAGS}_freebsd${OSREL:R}_.py
138
	@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
138
	@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
139
		./python -E -m compileall -d ${PREFIX}/lib/python${PYTHON_VER} \
139
		./python -E -m compileall -d ${PREFIX}/lib/python${PYTHON_VER} \
140
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_m_freebsd${OSREL:R}_.py
140
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_${ABIFLAGS}_freebsd${OSREL:R}_.py
141
	@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
141
	@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
142
		./python -E -O -m compileall -d ${PREFIX}/lib/python${PYTHON_VER} \
142
		./python -E -O -m compileall -d ${PREFIX}/lib/python${PYTHON_VER} \
143
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_m_freebsd${OSREL:R}_.py
143
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_${ABIFLAGS}_freebsd${OSREL:R}_.py
144
	@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
145
		./python -E -OO -m compileall -d ${PREFIX}/lib/python${PYTHON_VER} \
146
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_${ABIFLAGS}_freebsd${OSREL:R}_.py
144
	@${REINPLACE_CMD} -e 's=/nxb-bin==' \
147
	@${REINPLACE_CMD} -e 's=/nxb-bin==' \
145
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/config-${PYTHON_VER}m/Makefile
148
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/config-${PYTHON_VER}${ABIFLAGS}/Makefile
146
.endif
149
.endif
147
	for i in ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/lib-dynload/*.so; do \
150
	for i in ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/lib-dynload/*.so; do \
148
		${STRIP_CMD} $$i; done								# Strip shared extensions
151
		${STRIP_CMD} $$i; done								# Strip shared extensions
(-)b/lang/python37/Makefile (-2 / +11 lines)
Lines 131-139 post-install: Link Here
131
# FreeBSD base system provides.  sbruno 02Aug2017
131
# FreeBSD base system provides.  sbruno 02Aug2017
132
.if ${CC} == /nxb-bin/usr/bin/cc
132
.if ${CC} == /nxb-bin/usr/bin/cc
133
	@${REINPLACE_CMD} -e 's=/nxb-bin==' \
133
	@${REINPLACE_CMD} -e 's=/nxb-bin==' \
134
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_m_freebsd${OSREL:R}_.py
134
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_${ABIFLAGS}_freebsd${OSREL:R}_.py
135
	@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
136
		./python -E -m compileall -d ${PREFIX}/lib/python${PYTHON_VER} \
137
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_${ABIFLAGS}_freebsd${OSREL:R}_.py
138
	@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
139
		./python -E -O -m compileall -d ${PREFIX}/lib/python${PYTHON_VER} \
140
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_${ABIFLAGS}_freebsd${OSREL:R}_.py
141
	@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
142
		./python -E -OO -m compileall -d ${PREFIX}/lib/python${PYTHON_VER} \
143
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_${ABIFLAGS}_freebsd${OSREL:R}_.py
135
	@${REINPLACE_CMD} -e 's=/nxb-bin==' \
144
	@${REINPLACE_CMD} -e 's=/nxb-bin==' \
136
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/config-${PYTHON_VER}m/Makefile
145
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/config-${PYTHON_VER}${ABIFLAGS}/Makefile
137
.endif
146
.endif
138
	for i in ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/lib-dynload/*.so; do \
147
	for i in ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/lib-dynload/*.so; do \
139
		${STRIP_CMD} $$i; done								# Strip shared extensions
148
		${STRIP_CMD} $$i; done								# Strip shared extensions
(-)b/lang/python38/Makefile (-2 / +11 lines)
Lines 131-139 post-install: Link Here
131
# FreeBSD base system provides.  sbruno 02Aug2017
131
# FreeBSD base system provides.  sbruno 02Aug2017
132
.if ${CC} == /nxb-bin/usr/bin/cc
132
.if ${CC} == /nxb-bin/usr/bin/cc
133
	@${REINPLACE_CMD} -e 's=/nxb-bin==' \
133
	@${REINPLACE_CMD} -e 's=/nxb-bin==' \
134
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_m_freebsd${OSREL:R}_.py
134
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_${ABIFLAGS}_freebsd${OSREL:R}_.py
135
	@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
136
		./python -E -m compileall -d ${PREFIX}/lib/python${PYTHON_VER} \
137
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_${ABIFLAGS}_freebsd${OSREL:R}_.py
138
	@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
139
		./python -E -O -m compileall -d ${PREFIX}/lib/python${PYTHON_VER} \
140
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_${ABIFLAGS}_freebsd${OSREL:R}_.py
141
	@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
142
		./python -E -OO -m compileall -d ${PREFIX}/lib/python${PYTHON_VER} \
143
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/_sysconfigdata_${ABIFLAGS}_freebsd${OSREL:R}_.py
135
	@${REINPLACE_CMD} -e 's=/nxb-bin==' \
144
	@${REINPLACE_CMD} -e 's=/nxb-bin==' \
136
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/config-${PYTHON_VER}m/Makefile
145
		${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/config-${PYTHON_VER}${ABIFLAGS}/Makefile
137
.endif
146
.endif
138
	for i in ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/lib-dynload/*.so; do \
147
	for i in ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/lib-dynload/*.so; do \
139
		${STRIP_CMD} $$i; done								# Strip shared extensions
148
		${STRIP_CMD} $$i; done								# Strip shared extensions

Return to bug 242896