summaryrefslogtreecommitdiff
path: root/usr.sbin/screenblank/Makefile
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-12-01 23:27:25 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-12-01 23:27:25 +0000
commitb11bbb51235bd85172226ea037257b53ee9402da (patch)
treef6118a5419bc82550325ed0df2f3e50047f6ffbb /usr.sbin/screenblank/Makefile
parentea7f37b365f29a8552fe175609d79d58051b87c4 (diff)
Use pidfile() instead of doing the equivalent thing by hand, and sometimes
forgetting to unlink the pid file at exit. ok millert@ deraadt@
Diffstat (limited to 'usr.sbin/screenblank/Makefile')
-rw-r--r--usr.sbin/screenblank/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/screenblank/Makefile b/usr.sbin/screenblank/Makefile
index c39644e4fb5..0b6d3ae072d 100644
--- a/usr.sbin/screenblank/Makefile
+++ b/usr.sbin/screenblank/Makefile
@@ -1,10 +1,10 @@
-# $OpenBSD: Makefile,v 1.3 2000/05/18 16:46:38 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2001/12/01 23:27:24 miod Exp $
.if ${MACHINE} == "sparc" || ${MACHINE} == "sun3"
PROG= screenblank
-DPADD= ${LIBM}
-LDADD= -lm
+LDADD+= -lm -lutil
+DPADD+= ${LIBM} ${LIBUTIL}
.else
NOPROG=yes
.endif