South Africa and Cape Verde are the only two countries on the African continent which legally recognizes same-sex unions. See Wikipedia more information.