aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ntp/ntpdate/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ntp/ntpdate/Makefile')
-rw-r--r--usr.sbin/ntp/ntpdate/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/ntp/ntpdate/Makefile b/usr.sbin/ntp/ntpdate/Makefile
index 03afbb5d708b..8e53ced468bb 100644
--- a/usr.sbin/ntp/ntpdate/Makefile
+++ b/usr.sbin/ntp/ntpdate/Makefile
@@ -1,8 +1,8 @@
-
.include <src.opts.mk>
.PATH: ${SRCTOP}/contrib/ntp/ntpdate
+PACKAGE=ntp
PROG= ntpdate
MAN=
SRCS= ntpdate.c version.c
@@ -13,12 +13,10 @@ CFLAGS+= -I${SRCTOP}/contrib/ntp/include \
-I${SRCTOP}/contrib/ntp/libntp/lib/isc/pthreads/include \
-I${.CURDIR:H}
-LIBADD= ntp m pthread
+LIBADD= ntp m md pthread
.if ${MK_OPENSSL} != "no"
LIBADD+= crypto
-.else
-LIBADD+= md
.endif
CLEANFILES+= .version version.c