Other changes:
- Add LIB_DEPENDS on devel/libuv and archivers/liblz4 as suggested by portlint
- Add USES=ssl (portlint again)
- Remove BUILD_DEPENDS (just LIB_DEPENDS seems to be fine)
I adapted the atomic.m4 patch but it flies over my head so I'm sure I didn't break anything in the process. Seems to work fine for me so far.