Don't clobber headers that we didn't create.
Noticed by: bde Reviewed by: bde
This commit is contained in:
parent
755ea6280e
commit
fc9f470859
@ -38,8 +38,6 @@ LDIRS= cam net netatalk netatm netgraph netinet netinet6 \
|
|||||||
netipx netkey netnatm netncp netns netsmb nfs nfsclient nfsserver \
|
netipx netkey netnatm netncp netns netsmb nfs nfsclient nfsserver \
|
||||||
pccard posix4 sys vm
|
pccard posix4 sys vm
|
||||||
|
|
||||||
LNOHEADERDIRS= dev fs isofs security ufs
|
|
||||||
|
|
||||||
LSUBDIRS= cam/scsi dev/ic dev/ppbus dev/usb dev/wi dev/an fs/devfs \
|
LSUBDIRS= cam/scsi dev/ic dev/ppbus dev/usb dev/wi dev/an fs/devfs \
|
||||||
fs/fdescfs fs/fifofs fs/msdosfs fs/ntfs fs/nullfs fs/nwfs fs/portalfs \
|
fs/fdescfs fs/fifofs fs/msdosfs fs/ntfs fs/nullfs fs/nwfs fs/portalfs \
|
||||||
fs/procfs fs/smbfs fs/umapfs fs/unionfs isofs/cd9660 \
|
fs/procfs fs/smbfs fs/umapfs fs/unionfs isofs/cd9660 \
|
||||||
@ -128,11 +126,8 @@ symlinks:
|
|||||||
rm -rf ${DESTDIR}/usr/include/$i
|
rm -rf ${DESTDIR}/usr/include/$i
|
||||||
ln -s ../../sys/$i ${DESTDIR}/usr/include/$i
|
ln -s ../../sys/$i ${DESTDIR}/usr/include/$i
|
||||||
.endfor
|
.endfor
|
||||||
.for i in ${LNOHEADERDIRS}
|
|
||||||
rm -rf ${DESTDIR}/usr/include/$i
|
|
||||||
mkdir ${DESTDIR}/usr/include/$i
|
|
||||||
.endfor
|
|
||||||
.for i in ${LSYMSUBDIRS}
|
.for i in ${LSYMSUBDIRS}
|
||||||
|
rm -rf ${DESTDIR}/usr/include/$i
|
||||||
ln -s ../../../sys/$i ${DESTDIR}/usr/include/$i
|
ln -s ../../../sys/$i ${DESTDIR}/usr/include/$i
|
||||||
.endfor
|
.endfor
|
||||||
rm -rf ${DESTDIR}/usr/include/machine
|
rm -rf ${DESTDIR}/usr/include/machine
|
||||||
|
Loading…
x
Reference in New Issue
Block a user