lang/python27: sync with upstream
Taken from: HardenedBSD
This commit is contained in:
parent
bde34fc078
commit
2a3f134997
1 changed files with 7 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= python27
|
||||
PORTVERSION= ${PYTHON_PORTVERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang python ipv6
|
||||
MASTER_SITES= PYTHON/ftp/python/${PORTVERSION}
|
||||
DISTNAME= Python-${PORTVERSION}
|
||||
|
|
@ -143,6 +144,12 @@ post-install:
|
|||
.if ${CC} == /nxb-bin/usr/bin/cc
|
||||
@${REINPLACE_CMD} -e 's=/nxb-bin==' \
|
||||
${STAGEDIR}${PREFIX}/lib/python2.7/_sysconfigdata.py
|
||||
@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
|
||||
./python -E -m compileall -d ${PREFIX}/lib/python2.7 \
|
||||
${STAGEDIR}${PREFIX}/lib/python2.7/_sysconfigdata.py
|
||||
@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
|
||||
./python -E -O -m compileall -d ${PREFIX}/lib/python2.7 \
|
||||
${STAGEDIR}${PREFIX}/lib/python2.7/_sysconfigdata.py
|
||||
@${REINPLACE_CMD} -e 's=/nxb-bin==' \
|
||||
${STAGEDIR}${PREFIX}/lib/python2.7/config/Makefile
|
||||
.endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue