1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Fix build with Python 2.5.2.

This commit is contained in:
Hye-Shik Chang 2008-02-29 13:36:35 +00:00
parent 313410de72
commit 39604ac3a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208182

View File

@ -39,6 +39,10 @@ pre-patch:
@${REINPLACE_CMD} 's|@DEFS@||g' ${WRKSRC}/compiled/Makefile.pre.in
.endif
post-configure:
${GREP} '^BLDSHARED' ${PYTHON_LIBDIR}/config/Makefile >> \
${WRKSRC}/Makefile
post-install:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
${PREFIX}/share/${PORTNAME}