summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2001-08-30 10:37:28 +0000
committerbde <bde@FreeBSD.org>2001-08-30 10:37:28 +0000
commit0c489177928186c0db9ce676ce6608044d6a849c (patch)
tree23ccdf351b7815753552db6079fc34218f5c3ebe /usr.sbin/ntp
parent6446a5fe80da2f4a0584db5d3daa9d1bc3d10699 (diff)
downloadFreeBSD-src-0c489177928186c0db9ce676ce6608044d6a849c.zip
FreeBSD-src-0c489177928186c0db9ce676ce6608044d6a849c.tar.gz
Fixed breakage of NOSHARED worlds in previous commit. -lreadline was
added but not its postrequisite -ltermcap. Fixed breakage of DPADD in previous commit. ${LIBREADLINE} was misspelled -lreadline. This should have been fatal since there is no file named -lreadline, but it worked because of an undcumented bugfeature in make(1) (or its configuration files): missing source files named -l* are silently assumed to be up to date libraries. `make checkdpadd' also fails to detect this error.
Diffstat (limited to 'usr.sbin/ntp')
-rw-r--r--usr.sbin/ntp/ntpdc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntp/ntpdc/Makefile b/usr.sbin/ntp/ntpdc/Makefile
index 2cc9c4e..d17f0ae 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
OpenPOWER on IntegriCloud