Main bearing cap broken how to repair

That area doesn't do one damn thing cept make sure the oil pump drive shaft is where it belongs when you put it together.
Nothing is supported by that material, and nothing ever touches the inside of it around the edges when the pump spins.

Pull it, grind off the sharp edges to make sure no other little piece is going to come off later and run the hell out of it.
NO WAY would I try to glue or weld that piece back on because it'll probably just end up it the pan when it really makes ZERO difference after the oil pump is bolted down anyway.

WHY THE HELL doesn't multiquote work?

This is what I'd do