To clarify Pope Francis said "If a person is gay and seeks out the Lord and is willing, who am I to judge that person?".  According to the Catholic faith part of seeking out the lord and being willing means putting what God wants for your life over what you want for your life.  Even if that means giving up your ability to have sex with whoever you want.