Created attachment 169476 [details] A patch $ diff Makefile.orig Makefile 31a32,34 > # fix 'ninja: no such target install/strip' error during 'make install' > # default value for INSTALL_TARGET is `install/strip`, see /usr/ports/Mk/Uses/cmake.mk > INSTALL_TARGET= install 269c272,273 < ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ --- > # fix 'directory not empty' error during 'make install' > ${RM} -r ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/
I realized that comments in attached patch are a bit wrong. Actually what I did was 'make reinstall'
I've never been able to reproduce the problem or understand what the patch intends to do.