diff --git a/usr.bin/cpp/Makefile b/usr.bin/cpp/Makefile index eda7f17cf299..95cf0b1f0ef6 100644 --- a/usr.bin/cpp/Makefile +++ b/usr.bin/cpp/Makefile @@ -8,10 +8,10 @@ all nologin clean cleandir depend lint tags: beforeinstall: .if ${MACHINE} == "sparc" ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${.CURDIR}/cpp.notraditional.sh ${DESTDIR}/usr/bin/cpp + ${.CURDIR}/cpp.notraditional.sh ${DESTDIR}${BINDIR}/cpp .else ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${.CURDIR}/cpp.sh ${DESTDIR}/usr/bin/cpp + ${.CURDIR}/cpp.sh ${DESTDIR}${BINDIR}/cpp .endif .include diff --git a/usr.bin/id/Makefile b/usr.bin/id/Makefile index e828d69bb23e..5b90f2955822 100644 --- a/usr.bin/id/Makefile +++ b/usr.bin/id/Makefile @@ -6,8 +6,8 @@ MAN1= id.1 groups.1 whoami.1 # XXX BROKEN: afterinstall: afterinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${.CURDIR}/groups.sh ${DESTDIR}/usr/bin/groups + ${.CURDIR}/groups.sh ${DESTDIR}${BINDIR}/groups ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${.CURDIR}/whoami.sh ${DESTDIR}/usr/bin/whoami + ${.CURDIR}/whoami.sh ${DESTDIR}${BINDIR}/whoami .include diff --git a/usr.bin/mkdep/Makefile b/usr.bin/mkdep/Makefile index db161168b157..a094bc5bacec 100644 --- a/usr.bin/mkdep/Makefile +++ b/usr.bin/mkdep/Makefile @@ -4,6 +4,6 @@ MAN1= mkdep.1 beforeinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${.CURDIR}/mkdep.gcc.sh ${DESTDIR}/usr/bin/mkdep + ${.CURDIR}/mkdep.gcc.sh ${DESTDIR}${BINDIR}/mkdep .include diff --git a/usr.bin/shar/Makefile b/usr.bin/shar/Makefile index 79895df86b31..6d066230285b 100644 --- a/usr.bin/shar/Makefile +++ b/usr.bin/shar/Makefile @@ -4,6 +4,6 @@ MAN1= shar.1 beforeinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${.CURDIR}/shar.sh ${DESTDIR}/usr/bin/shar + ${.CURDIR}/shar.sh ${DESTDIR}${BINDIR}/shar .include diff --git a/usr.bin/tput/Makefile b/usr.bin/tput/Makefile index 45d369f88010..441305c15fb7 100644 --- a/usr.bin/tput/Makefile +++ b/usr.bin/tput/Makefile @@ -7,6 +7,6 @@ MLINKS= tput.1 clear.1 beforeinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${.CURDIR}/clear.sh ${DESTDIR}/usr/bin/clear + ${.CURDIR}/clear.sh ${DESTDIR}${BINDIR}/clear .include