summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp/ntpdc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ntp/ntpdc/Makefile')
-rw-r--r--usr.sbin/ntp/ntpdc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ntp/ntpdc/Makefile b/usr.sbin/ntp/ntpdc/Makefile
index 2129c20..f19211a 100644
--- a/usr.sbin/ntp/ntpdc/Makefile
+++ b/usr.sbin/ntp/ntpdc/Makefile
@@ -18,12 +18,14 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include \
-I${.CURDIR}/../../../lib/libc/${MACHINE_ARCH} \
-I${.CURDIR}/../ -I${.CURDIR}
-LIBADD= edit md ntp m readline opts ncurses pthread
+LIBADD= edit ntp m opts pthread
CFLAGS+= -DHAVE_LIBEDIT -DHAVE_READLINE_READLINE_H \
-I${DESTDIR}/${INCLUDEDIR}/edit
.if ${MK_OPENSSL} != "no"
-LIBADD+= ssl crypto
+LIBADD+= crypto
+.else
+LIBADD+= md
.endif
CLEANFILES+= .version version.c
OpenPOWER on IntegriCloud