From 0c489177928186c0db9ce676ce6608044d6a849c Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 30 Aug 2001 10:37:28 +0000 Subject: 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. --- usr.sbin/ntp/ntpdc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ntp') 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 -- cgit v1.1