In the FreeBSD port's version of clang we're patching in support
for our non-standard printf format extensions like we do with
gcc. This creates .orig files one of which the install target in
tools/clang/include/clang/Makefile installs. I patched around it by
adding *.orig to the list of excluded files. Would you accept the
following patch to the mainline? The list of exclusions is already
fairly long and specific to user preferences so another probably won't
hurt.
Thanks,
Brooks
--- tools/clang/include/clang/Makefile.orig
+++ tools/clang/include/clang/Makefile
@@ -10,7 +10,7 @@
cd $(PROJ_SRC_ROOT)/tools/clang/include && \
for hdr in `find clang -type f '!' '(' -name '*~' \
-o -name '.#*' -o -name '*.in' -o -name '*.txt' \
- -o -name 'Makefile' -o -name '*.td' ')' -print \
+ -o -name 'Makefile' -o -name '*.td' -o -name '*.orig' ')' -print \
> grep -v CVS | grep -v .svn | grep -v .dir` ; do \
instdir=$(DESTDIR)`dirname "$(PROJ_includedir)/$$hdr"` ; \
if test \! -d "$$instdir" ; then \