make distribution: Remove some symlinks before (re-)creating them.
authorSascha Wildner <saw@online.de>
Mon, 19 Nov 2012 16:59:05 +0000 (17:59 +0100)
committerSascha Wildner <saw@online.de>
Mon, 19 Nov 2012 16:59:28 +0000 (17:59 +0100)
Reported-by: marino
etc/Makefile

index 39c6ee9..e0982ba 100644 (file)
@@ -349,6 +349,9 @@ distribution:
            ${DESTDIR}/var/crash
        cd ${.CURDIR}/..; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
            ${FREEBSD} ${DESTDIR}/
+       rm -f ${DESTDIR}/usr/include/machine/ioctl_bt848.h
+       rm -f ${DESTDIR}/usr/include/machine/ioctl_meteor.h
+       rm -f ${DESTDIR}/usr/include/sys/ata.h
        ${LN} -s "../dev/video/bktr/ioctl_bt848.h" ${DESTDIR}/usr/include/machine/ioctl_bt848.h
        ${LN} -s "../dev/video/meteor/ioctl_meteor.h" ${DESTDIR}/usr/include/machine/ioctl_meteor.h
        ${LN} -s nata.h ${DESTDIR}/usr/include/sys/ata.h