Unfortunately, much of sub-Saharan Africa is homophobic. Recent legislation, some proposed, some passed, condemns gay marriage and sometimes outlaws gay sexual activity. Nigeria, Uganda, and Liberia all have such legislation pending or passed, often with the provision of draconian penalties. Such legislation appears to be very popular.
South Africa Leading The African Continent On Gay Rights