summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppctl/Makefile
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-11-27 02:31:25 +0000
committerbrian <brian@FreeBSD.org>2000-11-27 02:31:25 +0000
commitbad4a365fef653e198cdf1ad8a8bec23b5a2cd0b (patch)
tree8831031d4874941a4189f2dbe1b61541715084cd /usr.sbin/pppctl/Makefile
parent4a3cb8d12476f5cc9b35d872226b9d2c3b1bb276 (diff)
downloadFreeBSD-src-bad4a365fef653e198cdf1ad8a8bec23b5a2cd0b.zip
FreeBSD-src-bad4a365fef653e198cdf1ad8a8bec23b5a2cd0b.tar.gz
Change interactive mode so that a monitor thread keeps an eye on the
ppp descriptor and signals the terminal thread when there's something to read on that descriptor. This means that the main loop doesn't have to alarm() itself into dropping out of el_gets() frequently to check the descriptor. This dropping out was disturbing syscons (via ioctl()s from libedit) enough to reset the screensaver timeout every .5 of a second. PR: 20345
Diffstat (limited to 'usr.sbin/pppctl/Makefile')
-rw-r--r--usr.sbin/pppctl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pppctl/Makefile b/usr.sbin/pppctl/Makefile
index 718d2f76..95aa8ed 100644
--- a/usr.sbin/pppctl/Makefile
+++ b/usr.sbin/pppctl/Makefile
@@ -3,8 +3,8 @@
PROG= pppctl
SRCS= pppctl.c
CFLAGS+=-Wall
-LDADD+= -ledit -ltermcap
-DPADD+= ${LIBEDIT} ${LIBTERMCAP}
+LDADD+= -pthread -ledit -ltermcap
+DPADD+= ${LIBC_R} ${LIBEDIT} ${LIBTERMCAP}
MAN8= pppctl.8
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud