A little context may be helpful.
Pope Francis, yesterday:
“I think that when we encounter a gay person, we must make the distinction between the fact of a person being gay and the fact of a lobby, because lobbies are not good. They are bad. If a person is gay and seeks the Lord and has good will, who am I to judge that person? The Catechism of the Catholic Church explains this point beautifully but says, wait a moment, how does it say, it says, these persons must never be marginalized and they must be integrated into society.”
The problem is not that one has this tendency; no, we must be brothers, this is the first matter. “
The Catechism of the Catholic Church:
2358 The number of men and women who have deep-seated homosexual tendencies is not negligible. This inclination, which is objectively disordered, constitutes for most of them a trial. They must be accepted with respect, compassion, and sensitivity. Every sign of unjust discrimination in their regard should be avoided. These persons are called to fulfill God’s will in their lives and, if they are Christians, to unite to the sacrifice of the Lord’s Cross the difficulties they may encounter from their condition.
2359 Homosexual persons are called to chastity. By the virtues of self-mastery that teach them inner freedom, at times by the support of disinterested friendship, by prayer and sacramental grace, they can and should gradually and resolutely approach Christian perfection.