I've been to many different countries, in Europe, Asia, North and South America, and Australia and New Zealand. Some of those countries (including my own) had laws at the time against homosexual acts, varying in their severity. Some didn't, In many cases I did not know, or need to know, the law as there was no way I was likely to get caught with another man.
I think it's a mistake to boycott a country just because you disagree with some of its laws. A saying about "casting the first stone" comes to mind. Americans in particular should remember two words: "Matthew Shepherd."
I mean, be reasonable. Before going to a country you should do a little research on what sort of a place it is. If you still want to visit, behave accordingly. If not, don't go. I'd be very interested to visit the Middle Eastern countries. If I did, I would not expect to be able to wear skintight jeans or short shorts. Fiji, from all accounts, is a fabulous tourist destination, but it's also known for homophobic laws, and you would have to be a bit dopey to take your boyfriend there, book double rooms and expect to be able to root to your heart's content.
Something to ponder: lots of countries have abolished the death penalty (if they ever had it), and consider that imposing the death penalty is barbatric. Should they boycott countries where the death penalty is carried out? Just sayin'.