summaryrefslogtreecommitdiffstats
path: root/usr.bin/finger/Makefile
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-12-28 20:54:34 +0000
committered <ed@FreeBSD.org>2009-12-28 20:54:34 +0000
commit5bf232465b8e0def3c04c6e47745b969162463fe (patch)
tree572b8cc48e0e4fce2e62ea0eb3f0cf8dc6028a53 /usr.bin/finger/Makefile
parentf60568ce2e9a52bcb63e2ad46f8bc34bf16b6273 (diff)
downloadFreeBSD-src-5bf232465b8e0def3c04c6e47745b969162463fe.zip
FreeBSD-src-5bf232465b8e0def3c04c6e47745b969162463fe.tar.gz
Migrate finger(1) away from <utmp.h>.
Unfortunately it also uses lastlog, which means we must resort to local extensions of the utmpx-interface. Because the user name and TTY name are now nul-terminated, there is no need to copy around strings as often.
Diffstat (limited to 'usr.bin/finger/Makefile')
-rw-r--r--usr.bin/finger/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/finger/Makefile b/usr.bin/finger/Makefile
index 983392b..8c5780c 100644
--- a/usr.bin/finger/Makefile
+++ b/usr.bin/finger/Makefile
@@ -5,4 +5,7 @@ PROG= finger
SRCS= finger.c lprint.c net.c sprint.c util.c
MAN= finger.1 finger.conf.5
+DPADD= ${LIBULOG}
+LDADD= -lulog
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud