summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp/ntpd/Makefile
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-05-25 20:27:46 +0000
committerbapt <bapt@FreeBSD.org>2015-05-25 20:27:46 +0000
commita38e45559a280e948b0c82c49b1a9a3968487e52 (patch)
treed852d6817d1a0004dc6fa42c012e3fe60f73e843 /usr.sbin/ntp/ntpd/Makefile
parent23e01a9f6f6a6b49c39a8d88c7691461a46b8a1e (diff)
downloadFreeBSD-src-a38e45559a280e948b0c82c49b1a9a3968487e52.zip
FreeBSD-src-a38e45559a280e948b0c82c49b1a9a3968487e52.tar.gz
Fix overlinking again after recent ntp updates
Fix building WITHOUT_OPENSSL
Diffstat (limited to 'usr.sbin/ntp/ntpd/Makefile')
-rw-r--r--usr.sbin/ntp/ntpd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ntp/ntpd/Makefile b/usr.sbin/ntp/ntpd/Makefile
index 8da2c68..9f80b15 100644
--- a/usr.sbin/ntp/ntpd/Makefile
+++ b/usr.sbin/ntp/ntpd/Makefile
@@ -35,10 +35,12 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/ntpd \
-I${.CURDIR}/../ \
-I${.CURDIR}
-LIBADD= parse ntp m rt opts md pthread
+LIBADD= parse ntp m opts pthread
.if ${MK_OPENSSL} != "no"
LIBADD+= crypto
+.else
+LIBADD+= md
.endif
CLEANFILES+= .version version.c
OpenPOWER on IntegriCloud