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>
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.
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#14363Closes#15011.
Signed-off-by: Max Howell <mxcl@me.com>
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.
ext2fuse has been broken for a while because it's an old piece
of code that needs a few cflags for clang. Macports also defines
a different precompiler variable, `-D__FreeBSD__=10` which it
turns out fixes all our build errors and aslo fixes the need we
had for defining `SSIZE_T`
- Add to CFLAGS `-D__FreeBSD__=10 -DENABLE_SWAPFS` like MP.
- Add a `--std=gnu89` flag if compiler is clang
- Remove the unneeded CFLAG.
- Works great with superenv.
Fixes#12207Closes#15070.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
We add the bins from all deps instead. Rationale: formula find and use eg. GNU-coreutils versions of things and then break. Only allow formula to use tools that they depend on and expect.
I want to go further and only add include paths etc. for dependencies, I have done some work on this, but I fear it may be impossible. If an include path is eg. /usr/local/lib/foo/include, is it possible to know if this path is bad? Not always AFAICT.
In cases where the xcode-select -print-path is '/' xcrun still hangs indefinitely, setting DEVELOPER_DIR to something (preferably the Xcode path) fixes that. So let's.