Assign DEVELOPER_DIR before it is needed

On a broken set up, setting DEVELOPER_DIR can fix builds, provided it is set early enough to impact them.
Work even when RUBYLIB='-'

Apparently setting RUBYLIB to '-' causes the library path to be unset. So we need to set our own library path in our scripts.

Fixes Homebrew/homebrew-versions/#47.
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

Closes #15011.

Signed-off-by: Max Howell <mxcl@me.com>
Attempt to fix opt-paths for all deps

Since we changed superenv to set a PATH without /usr/local, all deps need to have opt paths.

Fixes #15077.
libvirt 0.10.2

Closes #15075.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
opam 0.7.1

Closes #15076.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
PostgreSQL 9.2.1

Closes #15079.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
phantomjs 1.7.0

Closes #15080.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
optipng 1.7.3

Closes #15082.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
FFmpeg 0.11.2

Closes #15056.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Fix fixopt and fixopt error handling

The Keg constructor was throwing because we were returning a relative path, and the error-handler was just returning a string rather than raising a string.

Worrying because a lot of opts have not been fixed and I thought this was essential for depending on keg-only formula nowadays.

Refs #15077.
iftop 1.0pre2

Closes #15062.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
cfitsio: sha1sum for examples zip

Closes #15083.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Griffon 1.1.0

Closes #15084.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
go 1.0.3

Closes #15086.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Ur/Web 20120925

Closes #15099.

Signed-off-by: Austin Seipp <mad.one@gmail.com>
Closes #15099.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
imageworsener: add libpng dependency

Without this, imageworsener is very limited as
it can not write png files

Closes #15089.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
git: also install git-subtree

The git-subtree formula was removed by b3a0a433c, as subtree is now
delivered with mainline Git. This commit ensures subtree is available in
the default install. The manpage is not installed.

See #12897.

Closes #15085.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
nginx stable 1.2.4

Closes #15101.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
mongodb: fix hash for --32-bit

The 2.2.0 32-bit binary that 10gen published wasn't compiled as intended.
They re-built and pushed out a new binary, so this is the hash of the
new binary.

https://groups.google.com/d/msg/mongodb-user/KfsEskSEJi0/NMjWrI77L-8J

Signed-off-by: Adam Vandenberg <flangy@gmail.com>