From: jsg Date: Wed, 12 Apr 2017 07:57:06 +0000 (+0000) Subject: Invoke install -d for each directory in the /usr/lib/clang hierarchy X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b8e06e2a83eba1faf015f1d99d9aaf5a7ecd24a3;p=openbsd 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@ --- 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 @@ -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}