summaryrefslogtreecommitdiff
path: root/lang/pypy3-devel
diff options
context:
space:
mode:
authorDavid Naylor <dbn@FreeBSD.org>2013-08-12 17:56:40 +0000
committerDavid Naylor <dbn@FreeBSD.org>2013-08-12 17:56:40 +0000
commitf17b68679fd52c0a1f5597342744d34ef8b954f9 (patch)
treedbab960f1b10c3d493d392e01632dcbf24fa31d3 /lang/pypy3-devel
parentUpdate 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/pypy3-devel')
-rw-r--r--lang/pypy3-devel/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/pypy3-devel/Makefile b/lang/pypy3-devel/Makefile
index 53198a8b6c5b..4dc9739e6b1e 100644
--- a/lang/pypy3-devel/Makefile
+++ b/lang/pypy3-devel/Makefile
@@ -263,7 +263,8 @@ post-build:
-name '*.bak' -delete -or \
-name '*.c' -delete -or \
-name '*.o' -delete
- ${FIND} ${WRKDIR}/${_path:C/.*://}/ -depth -type d -name tmp | \
+ ${FIND} ${WRKDIR}/${_path:C/.*://}/ -name __pycache__ | \
+ ${XARGS} -n1 -I {} ${FIND} {} -depth 1 -type d | \
${XARGS} ${RM} -r
.endfor