diff options
author | David Naylor <dbn@FreeBSD.org> | 2013-08-12 17:56:40 +0000 |
---|---|---|
committer | David Naylor <dbn@FreeBSD.org> | 2013-08-12 17:56:40 +0000 |
commit | f17b68679fd52c0a1f5597342744d34ef8b954f9 (patch) | |
tree | dbab960f1b10c3d493d392e01632dcbf24fa31d3 /lang/pypy | |
parent | Update to 1.17. (diff) |
Fix the pypy ports.
Be more aggresive in cleaning up temporary directories that pypy leaves
behind in the copied directories (files and directories in __pycache__).
Only .so and .pyc should be left behind in those __pycache__ directories
and no subdirectories.
Also remove the manual requirement for building lang/pypy. Redports
successfully built lang/pypy3-devel (with leftovers) in 19 hours.
Reported by: Redports
Notes
Notes:
svn path=/head/; revision=324639
Diffstat (limited to 'lang/pypy')
-rw-r--r-- | lang/pypy/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/pypy/Makefile b/lang/pypy/Makefile index d8ff16db6ff8..a894408a2d04 100644 --- a/lang/pypy/Makefile +++ b/lang/pypy/Makefile @@ -35,7 +35,6 @@ OPTIONS_SINGLE_PYINST= PYTHON PYPY PYPY_MINMEM OPTIONS_DEFAULT+= PYPY_MINMEM .endif -MANUAL_PACKAGE_BUILD= runaway process on pointyhat CONFLICTS_INSTALL= pypy-devel-[0-9]* ALL_TARGET= ${PYPY_NAMES} @@ -290,7 +289,9 @@ post-build: -name '*.bak' -delete -or \ -name '*.c' -delete -or \ -name '*.o' -delete - ${FIND} ${WRKSRC}/lib -depth -type d -name tmp | ${XARGS} ${RM} -r + ${FIND} ${WRKDIR}/${_path:C/.*://}/ -name __pycache__ | \ + ${XARGS} -n1 -I {} ${FIND} {} -depth 1 -type d | \ + ${XARGS} ${RM} -r ${MV} ${WRKSRC}/include ${WRKSRC}/include~ ${MKDIR} ${WRKSRC}/include ${MV} ${WRKSRC}/include~ ${WRKSRC}/${PYPY_INCLUDEDIR} |