Have make upgrade remove two stale 80211 header files that can mess
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 13 Aug 2004 05:30:02 +0000 (05:30 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 13 Aug 2004 05:30:02 +0000 (05:30 +0000)
up the /usr/src/usr.bin/truss build (primarily due to the way the ioctl
code just collects all the header files in existance).

etc/Makefile

index 4373e15..82ffdb9 100644 (file)
@@ -1,6 +1,6 @@
 #      from: @(#)Makefile      5.11 (Berkeley) 5/21/91
 # $FreeBSD: src/etc/Makefile,v 1.219.2.38 2003/03/04 09:49:00 ru Exp $
-# $DragonFly: src/etc/Makefile,v 1.25 2004/08/03 01:32:15 dillon Exp $
+# $DragonFly: src/etc/Makefile,v 1.26 2004/08/13 05:30:02 dillon Exp $
 
 .if !defined(NO_SENDMAIL)
 SUBDIR=        sendmail
@@ -107,6 +107,10 @@ upgrade_etc:
        csh -c "rm -f ${DESTDIR}/usr/lib/gcc2/{crtbegin.o,crtbeginS.o,crtend.o,crtendS.o}"
        csh -c "rm -f ${DESTDIR}/usr/lib/gcc3/{crtbegin.o,crtbeginS.o,crtend.o,crtendS.o}"
 .endif
+.if exists(${DESTDIR}/usr/include/netproto/802_11/if_wavelan_ieee.h)
+       rm -f ${DESTDIR}/usr/include/dev/netif/wi/if_wavelan_ieee.h
+       rm -f ${DESTDIR}/usr/include/net/if_ieee80211.h
+.endif
 .if exists(${DESTDIR}/usr/libexec/binutils212/elf/as)
        ldconfig -m ${DESTDIR}/usr/lib/gcc2
        rm -rf ${DESTDIR}/usr/lib/gcc3