summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/pim6sd/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pim6sd/Makefile b/usr.sbin/pim6sd/Makefile
index 9cda3ce969e4..9d7dcf47aff5 100644
--- a/usr.sbin/pim6sd/Makefile
+++ b/usr.sbin/pim6sd/Makefile
@@ -42,8 +42,8 @@ MAN1= pim6stat.1
MAN5= pim6sd.conf.5
MAN8= pim6sd.8
-afterinstall:
- install ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${INSTALLFLAGS} ${SRCDIR}/pim6stat ${DESTDIR}${BINDIR}
+beforeinstall:
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ ${.CURDIR}/pim6stat ${DESTDIR}${BINDIR}
.include <bsd.prog.mk>