Confederate Yankee ("Because liberalism is a persistent vegetative state.") has a suggestion.
Money quote(s):
"The international community has allowed pirates to operate off Somalia for far too long, and has done nothing to eradicate the threat.
While pirates operate off the coast, the simple fact of the matter is that they cannot exist without a support structure onshore. These pirate havens are well known to the governments of the world, and poorly defended. Bombardment from the air or sea could easily reduce the pirate strongholds to rubble, sink the "motherships" that pirates use to extend their range offshore, and of course, eliminate the pirates themselves."