summaryrefslogtreecommitdiff
path: root/net/openntpd/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/openntpd/files/patch-Makefile')
-rw-r--r--net/openntpd/files/patch-Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/openntpd/files/patch-Makefile b/net/openntpd/files/patch-Makefile
new file mode 100644
index 000000000000..c78ef017030e
--- /dev/null
+++ b/net/openntpd/files/patch-Makefile
@@ -0,0 +1,20 @@
+$FreeBSD$
+--- Makefile.orig 2009-08-01 17:38:53.000000000 +0200
++++ Makefile 2009-08-01 18:21:05.000000000 +0200
+@@ -4,7 +4,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
++ server.c client.c util.c adjfreq.c arc4random.c
+ CFLAGS+= -Wall -I${.CURDIR}
+ CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
+ CFLAGS+= -Wmissing-declarations
+@@ -13,4 +13,7 @@ CFLAGS+= -Wsign-compare
+ YFLAGS=
+ MAN= ntpd.8 ntpd.conf.5
+
++DPADD= ${LIBMD}
++LDADD= -lmd
++
+ .include <bsd.prog.mk>