summaryrefslogtreecommitdiffstats
path: root/libexec/atrun/Makefile
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2007-06-14 22:16:21 +0000
committeryar <yar@FreeBSD.org>2007-06-14 22:16:21 +0000
commit8a97efc4142c90e7826c728b39fe31a3fecf7073 (patch)
tree2cc81892487faa794800c2118aa8289724857702 /libexec/atrun/Makefile
parentb6a0b8bdc1036db4b7d20dddbb6c2a53ec93fb50 (diff)
downloadFreeBSD-src-8a97efc4142c90e7826c728b39fe31a3fecf7073.zip
FreeBSD-src-8a97efc4142c90e7826c728b39fe31a3fecf7073.tar.gz
Use a single setusercontext(3) instead of a bunch of basic syscalls.
Besides aesthetic benefits, that makes at(1) jobs subject to such login.conf(5) settings as resource limits.
Diffstat (limited to 'libexec/atrun/Makefile')
-rw-r--r--libexec/atrun/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libexec/atrun/Makefile b/libexec/atrun/Makefile
index aacbf2e..40ebd06 100644
--- a/libexec/atrun/Makefile
+++ b/libexec/atrun/Makefile
@@ -12,8 +12,12 @@ BINDIR= ${ATLIB_DIR}
CLEANFILES= ${MAN}
CFLAGS+=-I${MAINSRC} -I${.CURDIR}
+CFLAGS+=-DLOGIN_CAP
WFORMAT=0
+DPADD= ${LIBUTIL}
+LDADD= -lutil
+
atrun.8: atrun.man
@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
sed -e \
OpenPOWER on IntegriCloud