summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lastlogin/Makefile
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-12-09 20:05:37 +0000
committered <ed@FreeBSD.org>2009-12-09 20:05:37 +0000
commit29d5f23adb43ba91d4560776bd04e3bb3b0e3f6d (patch)
tree11d46eb193ac94fd28a9fe6593ce4cf3dc0533c4 /usr.sbin/lastlogin/Makefile
parent5d2d64bcf74bfed182eb883cf4e9bc6381b2dafd (diff)
downloadFreeBSD-src-29d5f23adb43ba91d4560776bd04e3bb3b0e3f6d.zip
FreeBSD-src-29d5f23adb43ba91d4560776bd04e3bb3b0e3f6d.tar.gz
Port lastlogin(1) to libulog.
Just use ulog_getutxuser() to obtain lastlog records or ulog_getutxent() to browse through all of them.
Diffstat (limited to 'usr.sbin/lastlogin/Makefile')
-rw-r--r--usr.sbin/lastlogin/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/lastlogin/Makefile b/usr.sbin/lastlogin/Makefile
index 017aadf..ab87f4b 100644
--- a/usr.sbin/lastlogin/Makefile
+++ b/usr.sbin/lastlogin/Makefile
@@ -3,6 +3,9 @@
PROG= lastlogin
MAN= lastlogin.8
-WARNS?= 2
+DPADD= ${LIBULOG}
+LDADD= -lulog
+
+WARNS?= 6
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud