Well I am not gonna advocate for the US trying to dictate to Ugandans how to run their nation just because gay rights activists in the US might be screaming and yelling for that, this is a given. But I am not on board with laws outlawing unapproved sexual acts in private either. Lawrence v Texas and Bowers v. Hardwick showed how impractical such laws against private sexual acts are. I know that is an extremely unpopular opinion for some groups around here, but I just don’t think it is a coincidence that countries which try to outlaw certain private sexual acts between consenting adults are typically also the least free and most totalitarian places in the world as well.
The meme that “consent” should be the only operative criterion that should determine legality is a ruse that we fall for at our own peril. For many centuries homosexual acts were properly criminalized universally by societies worldwide. Only with the legalization of homosexual sodomy in the very thin sliver of recent history has the very rapid exponential loss of freedom occurred for anyone who opposes this, even privately.
Please read this excellent treatise on the reasonableness of legislating on substantive (moral) as well as procedural (consent) norms.
http://www.thepublicdiscourse.com/2014/01/11987/
By the way, I found a write up on the new Uganda law. Though homosexual acts are already illegal in that country, this law enhances the penalties (to life in prison) for the most dangerous and undeniably immoral instance of this behavior, deemed “aggravated homosexuality.” This is defined as exposing another sex partner to HIV, sex with minors or the disabled (homosexual rape), or repeat offenders among consenting adults.