From 6a0d40e8541d9c4505e1c9fa60435c2896eb0ba2 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Thu, 21 Mar 2013 06:48:48 +0000 Subject: [PATCH] Do not install the dev/pci/drm/i915 directory to /usr/include --- src/include/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/include/Makefile b/src/include/Makefile index 597ea8fd..3014fe09 100644 --- a/src/include/Makefile +++ b/src/include/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.168 2013/03/18 19:15:04 deraadt Exp $ +# $OpenBSD: Makefile,v 1.169 2013/03/21 06:48:48 deraadt Exp $ # $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $ # @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91 @@ -131,8 +131,9 @@ copies: done cd ../sys; \ pax -rw -pa -L \ - `find ${LDIRS} -follow -type f -name '*.h' \ - '!' -path 'dev/microcode/*' -print` ${DESTDIR}/usr/include + `find ${LDIRS} -follow -type f -name '*.h' '!' \ + '(' -path 'dev/microcode/*' -or -path 'dev/pci/drm/i915/*' ')' \ + -print` ${DESTDIR}/usr/include cd ${DESTDIR}/usr/include && rm -rf ${MACHINE} ${MACHINE_CPU} machine ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \ ${DESTDIR}/usr/include/${MACHINE}