diff options
author | David Naylor <dbn@FreeBSD.org> | 2013-08-13 01:56:40 +0800 |
---|---|---|
committer | David Naylor <dbn@FreeBSD.org> | 2013-08-13 01:56:40 +0800 |
commit | f17b68679fd52c0a1f5597342744d34ef8b954f9 (patch) | |
tree | dbab960f1b10c3d493d392e01632dcbf24fa31d3 /lang/pypy3-devel | |
parent | 1640bd30ecbf4854674d24b4004943d41c89fdf5 (diff) | |
download | freebsd-ports-gnome-f17b68679fd52c0a1f5597342744d34ef8b954f9.tar.gz freebsd-ports-gnome-f17b68679fd52c0a1f5597342744d34ef8b954f9.tar.zst freebsd-ports-gnome-f17b68679fd52c0a1f5597342744d34ef8b954f9.zip |
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
Diffstat (limited to 'lang/pypy3-devel')
-rw-r--r-- | lang/pypy3-devel/Makefile | 3 |
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 |