aboutsummaryrefslogtreecommitdiffstats
path: root/math/atlas/Makefile
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-10-15 02:07:46 +0800
committeryuri <yuri@FreeBSD.org>2018-10-15 02:07:46 +0800
commit06403bb812052492b1dd3bc57d5645ced8562ad3 (patch)
treebb92c5dc3fd999fa5c861d0ec483929d3dcc3944 /math/atlas/Makefile
parentfc3d401daf0680a20bb5ae4f261967eec8a6611d (diff)
downloadfreebsd-ports-gnome-06403bb812052492b1dd3bc57d5645ced8562ad3.tar.gz
freebsd-ports-gnome-06403bb812052492b1dd3bc57d5645ced8562ad3.tar.zst
freebsd-ports-gnome-06403bb812052492b1dd3bc57d5645ced8562ad3.zip
math/atlas: Fix build by removing empty directories
It was installing some empty directories under DATADIR which PORTDATA=* doesn't handle.
Diffstat (limited to 'math/atlas/Makefile')
-rw-r--r--math/atlas/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/math/atlas/Makefile b/math/atlas/Makefile
index c29751734e1b..d560ea655271 100644
--- a/math/atlas/Makefile
+++ b/math/atlas/Makefile
@@ -227,6 +227,7 @@ do-install:
(cd ${WRKSRC}/${opt}/ARCHS; \
${COPYTREE_SHARE} "*" ${STAGEDIR}${DATADIR}/${opt} \
"! -name Makefile -and ! -name *.tgz")
+ @${FIND} ${STAGEDIR}${DATADIR}/${opt} -type d -empty -delete
. endif
.endfor
.if ${PORT_OPTIONS:MDOCS}