summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2017-04-12 07:57:07 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2017-04-12 07:57:07 +0000
commit32df570757a317bce199d3e04067ca839a5f9d2b (patch)
tree4f8d99366b82e212ccda67ee3a12b8752cc92ca7 /gnu/usr.bin
parentdd7f1b678676584cec1201836097aae4bd23d71c (diff)
Invoke install -d for each directory in the /usr/lib/clang hierarchy
as they aren't in mtree. Problem with wrong ownership and permission of directories reported by sthen@. ok deraadt@ sthen@ tb@
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/clang/include/clang/intrin/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/usr.bin/clang/include/clang/intrin/Makefile b/gnu/usr.bin/clang/include/clang/intrin/Makefile
index 4d84bfd463b..f299a1e266b 100644
--- a/gnu/usr.bin/clang/include/clang/intrin/Makefile
+++ b/gnu/usr.bin/clang/include/clang/intrin/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2017/04/10 13:36:04 kettenis Exp $
+# $OpenBSD: Makefile,v 1.8 2017/04/12 07:57:06 jsg Exp $
.include <bsd.own.mk>
@@ -86,8 +86,10 @@ clean cleandir:
rm -f ${GEN}
install includes: ${HEADERS}
- ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m ${DIRMODE} \
- ${DESTDIR}${CLANG_INTR_INCDIR}
+.for dir in /usr/lib/clang /usr/lib/clang/${LLVM_V} ${CLANG_INTR_INCDIR}
+ ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${DIRMODE} \
+ ${DESTDIR}${dir}
+.endfor
${INSTALL} ${INSTALL_COPY} -m 444 ${.ALLSRC} \
${DESTDIR}${CLANG_INTR_INCDIR}