less: Build on Darwin
openjdk-darwin: Behave the same as openjdk-linux
junixsocket: Support Darwin

Patch borrowed from Rob Vermaas.