--- configure.orig	2020-03-16 07:03:49.000000000 -0400
+++ configure	2020-05-11 11:19:50.133909000 -0400
@@ -6755,7 +6755,7 @@
   if test x"$enable_image" = xyes; then
     enable_image=x11
     case "`uname -s`" in
-    Linux|linux|LINUX|FreeBSD|freebsd|FREEBSD)
+    Linux|linux|LINUX|FreeBSD|freebsd|FREEBSD|MidnightBSD|midnightbsd|MIDNIGHTBSD)
 	if test -c /dev/fb0; then
 	  enable_image=x11,fb
         fi;;
