It says that a man shall not lie with a male. In this case, male refers to a boy, someone who hasn't achieved full maturity. There were a lot of things lost, mixed up, and changed during translations, so I can see "male" becoming "man" in a translation, then that turning into "no homosexuality."