$FreeBSD: ports/net/openntpd/files/patch-Makefile,v 1.2 2009/11/24 14:55:52 naddy Exp $
--- Makefile.orig	2009-11-23 20:27:18.000000000 +0100
+++ Makefile	2009-11-23 20:29:05.000000000 +0100
@@ -2,7 +2,7 @@
 
 PROG=	ntpd
 SRCS=	ntpd.c buffer.c log.c imsg.c ntp.c ntp_msg.c parse.y config.c \
-	server.c client.c sensors.c util.c ntp_dns.c
+	server.c client.c util.c ntp_dns.c adjfreq.c arc4random.c
 CFLAGS+= -Wall -I${.CURDIR}
 CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
 CFLAGS+= -Wmissing-declarations
@@ -11,4 +11,7 @@ CFLAGS+= -Wsign-compare
 YFLAGS=
 MAN=	ntpd.8 ntpd.conf.5
 
+DPADD=	${LIBMD}
+LDADD=	-lmd
+
 .include <bsd.prog.mk>
