Raise on flop is good, call the shove is good.
Your math is right, your pot odds are 36.9%. Say he only does it with made flushes, your equity is about 33% (chance to hit a boat over the next 2 cards). He doesn't have to have that many combos of overpairs/lower sets/nut flush draws to make the call profitable.