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}