Some parts of a keg's tree are not subject to the cleaner, and sometimes
we still want to remove things in directories marked skip_clean; this
allows us that freedom.
If 'lib' is marked skip_clean, we still want to avoid linking the
charset.alias file into the top of the tree. The same needs to be done
for the locale.alias file in share/locale.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
- Fix link error with clang
Fix a link error with clang & libtool. Configure chooses
--export-dynamic
but that flag doesn't normally start with two dashes, only one.
There are no overrides or switches available for that. The fix is an
inline patch for configure, adding the compiler case for darwin*) to set
ZZIPLIB_LDFLAGS="-export-dynamic". Add the inline patch and bug report
url to the formula. Add the 2sec make check for this compression
library. Checks on Lion 10.7.3 and SL 10.6.8 with all five compilers
from the 4.3 CLT and XCode-4.0.2 (4D502).
Closes#10672.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
We disable building the agent program and provide it as a separate
gpg-agent package so that gnupg 1.x can use it as well. However, gpg2
still tries to find the agent in its own keg if it isn't already
running; that is, if the user hasn't done something like
eval $(gpg-agent --daemon)
Using --with-agent-pgm, we can tell gpg2 to look in HOMEBREW_PREFIX/bin
for the agent instead.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Because of "set -e" in non verbose mode brew man had an exit status
equals to 1 whereas there was no error. The reason was that the "test"
command failed. This patch fix this.
Closes#10664.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
OS X ships with iconv. glib failed to detect it, and this snowballed
into a few formulas requiring a superfluous duplicate install of
libiconv. All of the formulas in this commit compile without the
libiconv dependency.
jn:
The libiconv shipped with 10.5, 10.6, and 10.7 is version 1.11, so there
shouldn't be any cases of "10.x needs a newer libiconv but 10.y does
not".
In any case, we'll wait a week or so just in case any weird issues crop
up, and if not, then we can remove the libiconv formula and blacklist
it.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
If a user has set core.autocrlf = true (which shouldn't ever be used on
OS X, but alas...), a subsequent `brew update` will check out files with
CRLF line endings. Setting core.autocrlf = false in Homebrew's repo
config will override this global setting, and let us check out files
with their in-repository line endings.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Closes#10636.
[jn: the switch to disable the GTK client changed from "disable-gtk" to
"without-gtk" for some reason, adjusted.]
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The order of things made the check for git in the path pointless (and
was my fault); this is a better way to do it.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
`brew install > file` should not give "export CC=/foo" output on Build Failures.
Also moved the "Using clang" output to brew when BuildError is thrown as that is where it is interesting, and not if you just do `brew --env`.
Since 25aefdd ("don't complain if args are empty"), ARGV.formulae does
not raise an exception; `brew missing` was relying on that to determine
what set of formulae to act on. Fix this, and also a typo.
Fixes#10617.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>