Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 3, 2012
  1. @Sharpie

    std_cmake_args: Search for Frameworks last

    Sharpie authored
    Most Homebrew builds produce libraries, so CMake should give priority to
    libraries when resolving dependencies.
    
    Closes #12497.
    
    Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Commits on Dec 26, 2011
  1. @Sharpie
Commits on Dec 24, 2011
  1. @Sharpie

    formula.rb: Don't apply fails_with_llvm to Clang

    Sharpie authored
    Clang is vastly different than LLVM-GCC and is under active development. Using
    Clang is a viable solution to formula that fail with LLVM and a suggested
    recourse for users of XCode 4.2 or newer.
    
    Fixes #9242.
Commits on Dec 4, 2011
  1. @Sharpie

    formula.rb: Fix use of xcode_version in LLVM check

    Sharpie authored
    Should be `MacOS.xcode_version`.
    
    Fixes #8966.
Commits on Dec 3, 2011
  1. @Sharpie @adamv

    formula.rb: Change fails_with_llvm for XCode 4.2

    Sharpie authored adamv committed
    Suggest trying `--use-clang` instead of `--use-gcc` (which does nothing).
    
    Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Commits on Nov 28, 2011
  1. @Sharpie

    formula.rb: Initialize path to nil or a Pathname

    Sharpie authored
    For consistency, ensure that the `path` member of formula objects is always a
    `Pathname`.
Commits on Nov 27, 2011
  1. @Sharpie

    Re-work ARGV filtering to properly handle --HEAD

    Sharpie authored
    Previously, stripping arguments like `--HEAD` for dependencies failed because
    that flag affects the installation prefix encoded into formula objects. The
    previous implementation of `ARGV` filtering tried to contain all changes to a
    single method call before the `FormulaInstaller` forks. This update spreads
    things out a bit:
    
      - The Homebrew `ARGV` extension adds a new method, `filter_for_dependencies`
        which strips flags like `--HEAD`, yields to a block, then restores the
        original contents of ARGV.
    
      - The `explicitly_requested?` test, which returns true or false depending on
        if a formula object is a member of `ARGV.formulae`, is now a method of
        `Formula` objects.
    
      - `FormulaInstaller` objects now execute the installation of dependencies
        inside an `ARGV.filter_for_dependencies` block if the dependency was
        `explicitly_requested?`.
    
    Fixes #8668.
    Closes #7724.
Commits on Oct 5, 2011
  1. @Sharpie

    formula.rb: Don't attempt to mirror unstable URLs

    Sharpie authored
    If a build is being influenced by an option such as `--HEAD`. Don't attempt
    mirrors if a download fails.
    
    Fixes #7971.
Commits on Sep 20, 2011
  1. @Sharpie

    formula.rb: Move cache dir creation to fetch

    Sharpie authored
    So that the cache directory will get created if the user runs `brew fetch`
    instead of `brew install` as the first command.
Commits on Sep 19, 2011
  1. @Sharpie

    mirror support: Add mirror method to Formula.rb

    Sharpie authored
    Mirrors can now be declared using the `mirror` method which works similar to
    `depends_on` and takes the same arguments as `url`.
    
    The formula class now has a public `fetch` method that cycles through the
    mirror list if the downloader for the primary URL throws a `DownloadError`.
    Other brew commands, like brew-fetch, also benefit from mirror support by using
    this method.
    
    Closes #7574.
Commits on Sep 16, 2011
  1. @Sharpie

    Centralize definition of `rack` in formula.rb

    Sharpie authored
    `rack` is a commonly used alias for `formula.prefix.parent`---so common that it
    gets defined and used quite a bit. This patch makes `rack` an official method
    of the `Formula` class.
Commits on Aug 29, 2011
  1. @Sharpie

    formula.rb: Don't curl when DATA is the only patch

    Sharpie authored
    Executing `curl(*patches)` was failing on Leopard when `patches` was an empty
    list. `git-bisect` identified 48552bb as the
    commit that caused this bug to surface by adding `--insecure` to the arg list
    on Leopard. This is odd because the following both exit with status 2:
    
        curl
        curl --insecure
    
    The only apparent difference is that `curl --insecure` prints "no URL
    specified!" to stderr along with the usage message.
    
    Also renamed `patches` to `external_patches` as it is more descriptive.
Commits on Aug 25, 2011
  1. @Sharpie

    Leopard: Fix undefined method `count` for `Array`

    Sharpie authored
    Leopard runs Ruby 1.8.6 while Snow Leopard runs 1.8.7 and `Array.count` was not
    introduced until 1.8.7.
    
    Using `Array.length` instead.
Something went wrong with that request. Please try again.