git: 8914c06bbc77 - main - net/ntp: Reverse check for libmd and libmd5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Mar 2026 20:19:15 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8914c06bbc774e41d7a7e9456ebad8da6cb1e03b
commit 8914c06bbc774e41d7a7e9456ebad8da6cb1e03b
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2026-03-22 04:23:15 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2026-03-23 20:18:46 +0000
net/ntp: Reverse check for libmd and libmd5
When www/libwww is installed, it provides an incompatible libmd5
resulting ntp using libmd5 instead of libmd, breaking the build.
Reversing the order in which libmd and libmd5 are checked circumvents
this problem.
PR: 293949
MFH: 2026Q1
---
net/ntp/files/patch-sntp_m4_libntp.m4 | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/net/ntp/files/patch-sntp_m4_libntp.m4 b/net/ntp/files/patch-sntp_m4_libntp.m4
new file mode 100644
index 000000000000..e6517e351ceb
--- /dev/null
+++ b/net/ntp/files/patch-sntp_m4_libntp.m4
@@ -0,0 +1,11 @@
+--- sntp/m4/ntp_libntp.m4.orig 2024-05-07 04:21:13.000000000 -0700
++++ sntp/m4/ntp_libntp.m4 2026-03-23 13:11:24.414734000 -0700
+@@ -827,7 +827,7 @@
+ ]
+ )
+
+-AC_SEARCH_LIBS([MD5Init], [md5 md])
++AC_SEARCH_LIBS([MD5Init], [md md5])
+ AC_CHECK_FUNCS([MD5Init sysconf getdtablesize sigaction sigset sigvec])
+
+ # HMS: does this need to be a cached variable?