1--- lib/configure.orig	2022-04-15 17:57:59.000000000 -0400
2+++ lib/configure	2022-05-05 04:14:34.425946000 -0400
3@@ -31,6 +31,10 @@
4 	then
5 		sys=freebsd
6 	fi
7+	if [ "$sys" = "MidnightBSD" ]
8+	then
9+		sys=freebsd
10+	fi
11 	if [ "$sys" = "GNU/kFreeBSD" ]
12 	then
13 		sys=kfreebsd
14