the mysql-cmake.eclass blindly sets -DNOT_FOR_DISTRIBUTION=1. this really needs to be behind USE=bindist. along those lines, when USE=bindist is enabled for maridab builds, it should: - disable libbfd usage - disable external libreadline usage and use the internal copy
I guess the same would have to be true for dev-db/mysql as well then. Oracle doesn't create a NOT_FOR_DISTRIBUTION option for cmake but it does the same linkings. (The point was compatibility.) I'll get to work on this request.
Fixed in latest eclass commit