Instead of patching to  cmakemodules/FindBDB.cmake, use
BDB_PREFIX explained in INSTALL file. But above file may
need some modification, which should be reported to upstream.
Adjust for X11_TYPE=modular (only).