Fix a problem with -pthread not being picked up by some systems. Also add Ogg Vorbis detection and inclusion, as well as remove the old aclocal hack and use the method described in the PR.
Responsible Changed From-To: freebsd-ports-bugs->anray I'll take it.
State Changed From-To: open->closed Committed, with minor changes. Thanks!