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.
This commit is contained in:
bde 2001-08-30 10:37:28 +00:00
parent 6446a5fe80
commit 0c48917792

View File

@ -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