=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/Makefile,v retrieving revision 1.214 retrieving revision 1.215 diff -c -r1.214 -r1.215 *** src/include/Makefile 2016/10/16 19:28:44 1.214 --- src/include/Makefile 2016/11/08 19:56:56 1.215 *************** *** 1,4 **** ! # $OpenBSD: Makefile,v 1.214 2016/10/16 19:28:44 tb Exp $ # $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $ # @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91 --- 1,4 ---- ! # $OpenBSD: Makefile,v 1.215 2016/11/08 19:56:56 tb Exp $ # $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $ # @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91 *************** *** 92,106 **** rm -f ${DESTDIR}/usr/include/$$i && \ ln -s machine/$$i ${DESTDIR}/usr/include/$$i; \ done - chown -R ${BINOWN}:${BINGRP} ${DESTDIR}/usr/include - find ${DESTDIR}/usr/include -type f -print0 | \ - xargs -0r chmod a=r - find ${DESTDIR}/usr/include -type d -print0 | \ - xargs -0r chmod u=rwx,go=rx @for i in ${RDIRS}; do \ echo installing in ${.CURDIR}/$$i; \ cd ${.CURDIR}/$$i && ${RUN_MAKE}; \ done copies: @echo copies: ${LDIRS} --- 92,106 ---- rm -f ${DESTDIR}/usr/include/$$i && \ ln -s machine/$$i ${DESTDIR}/usr/include/$$i; \ done @for i in ${RDIRS}; do \ echo installing in ${.CURDIR}/$$i; \ cd ${.CURDIR}/$$i && ${RUN_MAKE}; \ done + chown -RP ${BINOWN}:${BINGRP} ${DESTDIR}/usr/include + find ${DESTDIR}/usr/include -type f -print0 | \ + xargs -0r chmod a=r + find ${DESTDIR}/usr/include \( -type d -o -type l \) -print0 | \ + xargs -0r chmod -h u=rwx,go=rx copies: @echo copies: ${LDIRS}