diff --git a/usr.sbin/ntp/ntpdc/Makefile b/usr.sbin/ntp/ntpdc/Makefile index 2cc9c4e75332..d17f0ae86502 100644 --- a/usr.sbin/ntp/ntpdc/Makefile +++ b/usr.sbin/ntp/ntpdc/Makefile @@ -8,8 +8,8 @@ SRCS= ntpdc.c ntpdc_ops.c version.c CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ -DPADD= ${LIBNTP} -lreadline -LDADD= ${LIBNTP} -lreadline +DPADD= ${LIBNTP} ${LIBREADLINE} ${LIBTERMCAP} +LDADD= ${LIBNTP} -lreadline -ltermcap CLEANFILES+= .version version.c