summaryrefslogtreecommitdiffstats
path: root/usr.bin/users/Makefile
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-12-03 16:42:18 +0000
committered <ed@FreeBSD.org>2009-12-03 16:42:18 +0000
commit03da910d8db01460d044c3ff90cc30e8a00c63d0 (patch)
tree8863e43534c3b960cae0dde5cccc298b542aee40 /usr.bin/users/Makefile
parentde31befa07736fae7671f0dbe5d0561a438271da (diff)
downloadFreeBSD-src-03da910d8db01460d044c3ff90cc30e8a00c63d0.zip
FreeBSD-src-03da910d8db01460d044c3ff90cc30e8a00c63d0.tar.gz
Port users(1) to libulog.
Instead of digging through the utmp database by hand, use proper API calls to do so. Instead of parsing entries with a non-empty ut_user, we now look at LOGIN_PROCESS entries.
Diffstat (limited to 'usr.bin/users/Makefile')
-rw-r--r--usr.bin/users/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/users/Makefile b/usr.bin/users/Makefile
index 3d6524b..53274b9 100644
--- a/usr.bin/users/Makefile
+++ b/usr.bin/users/Makefile
@@ -3,4 +3,7 @@
PROG= users
+DPADD= ${LIBULOG}
+LDADD= -lulog
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud