A couple excerpts from Vatican II, and comments.
""We cannot in truthfulness call upon that God who is the Father of all if we refuse to act in a brotherly way toward certain men, created though they be to God's image. A man's relationship with God the Father and his relationship with his brother men are so linked together that Scripture says: 'He who does not love does not know God' (I In. 4:8). The ground is therefore removed from every theory or practice which leads to a distinction between men or peoples in the matter of human dignity and the rights which flow from it. As a consequence, the Church rejects, as foreign to the mind of Christ, any discrimination against men or harassment of them because of their race, color, condition of life, or religion." Vatican II, Declaration on the Relationship of the Church to Non-Christian Religions (1965) 5."
Is Homophobia discrimination, or distinction in the matter of dignity and the rights that flow from it?
"There are disturbing signs of increased racial and economic segregation in urban areas. We deplore discrimination, still present in our society, against persons because of their race, economic status, sex, or religion. Such attitudes contradict the Christian belief in the equality and inherent dignity of all people and they must be opposed." U.S. Bishops, The Right to a Decent Home (1975) 33.
"With respect to the fundamental rights of the person, every type of discrimination, whether social or cultural, whether based on sex, race, color, social condition, language, or religion, is to be overcome and eradicated as contrary to God's intent." Vatican II, Church in the Modern World (1965) 29.