| Age | Commit message (Collapse) | Author |
|
pkg-config can give us this information a colon-separated list; use
that.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Having in_aclocal_dirlist? defined as a method on FormulaInstaller is a
little weird; since its just a return condition of check_m4, move the
code there.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Under certain circumstances, an invalid path element would cause
File.expand_path to bail out. Catch mistakes and report them, then
continue instead.
Fixes Homebrew/homebrew#12154
|
|
|
|
'which' only returns a Pathname or nil, and doesn't care about anything
sent to stderr, so just silence it by default and combine the two
methods.
Closes Homebrew/homebrew#12115.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Fixes Homebrew/homebrew#11552.
Closes Homebrew/homebrew#11777.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
From a patch by @RuiPereira
Closes Homebrew/homebrew#12011.
|
|
|
|
The --depth option is apparently more nuanced that I had originally
thought, and while it does not actually break repositories, repeatedly
using "--depth 1" can cause problems depending on the structure of the
history.
Luckily, we don't actually need it to prevent the entire repository from
being fetched as long as the fetch respec is set correctly, which we do
since 7718c939b06987ff8f1ecd599c8ace6f998ce180.
Fixes Homebrew/homebrew#12024.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
When referencing `Hardware.processor_count`, `ENV.make_jobs` will return an
integer. If referencing the environment variable `HOMEBREW_MAKE_JOBS`, it
returned a string.
Now, the function always returns an integer.
Fixes Homebrew/homebrew#12033.
|
|
This reverts commit ea1a9e603abe3dab90bf5b157d2614cf58e2cc8e.
Argh. Unrelated PySide changes slipped in.
|
|
When referencing `Hardware.processor_count`, `ENV.make_jobs` will return an
integer. If referencing the environment variable `HOMEBREW_MAKE_JOBS`, it
returned a string.
Now, the function always returns an integer.
Fixes Homebrew/homebrew#12033.
|
|
This fixes the `site-scripts` and `site-functions` directories
so that zsh points to the HOMEBREW_PREFIX version of these files
instead of the Cellar version.
This means you can drop files in these directories and the files
will persist when you upgrade zsh. Otherwise they disappear when
you upgrade zsh.
Closes Homebrew/homebrew#11955.
[jn: mkpath everything under share/zsh]
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
Separate out detecting compression types from uncompressing and staging.
|
|
git-clone's --single-branch is too new, and Xcode 4.3's stock git
doesn't have it. Since we don't require git from Homebrew, don't use it.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
The current series of fetch invocations in GitDownloadStrategy has the
unfortunate behavior of fetching full history even in shallow clones
that only need the history between the clone point and the remote HEAD.
It should be possible to determine if it is actually necessary to fetch
the full history, including all tags, and if it is not to avoid this
overhead.
Fixes Homebrew/homebrew#11958, and several other recurring problems.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
GIT_DIR is convenient, but it does not work when both a formula and
subformula try to stage a git checkout, as git will use the main
formula's repository when staging the subformula.
Stop setting it, and restore the kludge to the git-multipush formula.
Fixes Homebrew/homebrew#10893.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Fixes Homebrew/homebrew#11966.
|
|
If a formula implements startup_plist it has out-of-the-box support by
brew services. If not it's possible to specify the path to a plist file:
`brew services couchdb-lucence /usr/local/Cellar/..../couchdb-lucene.plist`.
Fixes Homebrew/homebrew#3422.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We now read six bytes instead of four in order to detect xz compression;
this broke rar detection which used a string literal instead of a regexp
for comparison.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
The python formula explicity creates lib/python2.7/site-packages.
However, that path may already exist as a symlink if something that
installs python bindings is installed before python itself. The result
is that some random keg will end up hosting the site-packages directory
instead of the top-level directory.
Fix this by explicitly creating directories under lib/python* during
linking.
Fixes Homebrew/homebrew#11882.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Closes Homebrew/homebrew#11642.
|
|
Fixes Homebrew/homebrew#11561.
Fixes Homebrew/homebrew#11614.
|
|
Fixed Homebrew/homebrew#11562.
|
|
Fixes Homebrew/homebrew#11780.
|
|
|
|
This reverts commit 146e253856eb3e27b6b7382734fd178c160c1beb.
|
|
This reverts commit f80908bead8b620ebcc5cdde9de65e70598002b6.
|
|
This reverts commit 092004e7820791030f568af0e3b03389ea4f7ee3.
|
|
|
|
Fixed Homebrew/homebrew#11562.
|
|
Fixes Homebrew/homebrew#11561.
Fixes Homebrew/homebrew#11614.
|
|
MacOS.gcc_42_build_version is nil when not available, not 0
|
|
|
|
Closes Homebrew/homebrew#11779.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
For some reason :arrandale was missing from the list of hardware in the
Intel family in the hardware test.
|
|
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|