Oil pump won't prime

the cap is broken where the pump mounts on. one of the bolt holes came apart. Can that be repaired?

A picture is worth a 1000 words! If the main cap is broken your in for a big repair. Snap a picture and post it let some of the seasoned experts direct you in the right place.