summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/cpp/Makefile4
-rw-r--r--usr.bin/id/Makefile4
-rw-r--r--usr.bin/mkdep/Makefile2
-rw-r--r--usr.bin/shar/Makefile2
-rw-r--r--usr.bin/tput/Makefile2
5 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/cpp/Makefile b/usr.bin/cpp/Makefile
index eda7f17..95cf0b1 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 <bsd.prog.mk>
diff --git a/usr.bin/id/Makefile b/usr.bin/id/Makefile
index e828d69..5b90f29 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 <bsd.prog.mk>
diff --git a/usr.bin/mkdep/Makefile b/usr.bin/mkdep/Makefile
index db16116..a094bc5 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 <bsd.prog.mk>
diff --git a/usr.bin/shar/Makefile b/usr.bin/shar/Makefile
index 79895df..6d06623 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 <bsd.prog.mk>
diff --git a/usr.bin/tput/Makefile b/usr.bin/tput/Makefile
index 45d369f..441305c 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 <bsd.prog.mk>
OpenPOWER on IntegriCloud