mxcl/homebrew — pull request #15011 by 2bits (2012-09-19 16:58:13+00:00)
Title: libnids: build the shared library

libnids is used by dsniff, but libnids only builds a static library
due to being coded in 2005 before much use of `.dylib` etc. By
patching libnids to build a shared library, we can get dsniff to
link against it and against glib and gthread correctly without
`LDFLAGS` hacking.

- Add deps on automake anb libtool to run `autoreconf`
- Run autoreconf to fix any issues in 2005 era configure.
- Add configure flag to `--enable-shared`
- Add patch to fix errors building shared with `-soname` and `.so`
- Works well with superenv and dnsiff

Fixes #14363