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 |