Get a piece of paper and list all the qualities that a man should have to be a good mate and parent. Then see how many of these traits your boyfriend has.
Maybe you can switch the emphasis on to yourself so that you become all that you can be so that you are attracted to a man that has the traits on the list.
I know when I was broken, I was attracted to broken people too. I could jump into action to fix them. It kept me from having to fix myself. It took me 'til I was 40 to be attracted to a whole healthy man. I hope it doesn't take you that long.