diff options
| author | Mike McQuaid | 2014-07-24 08:44:44 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-07-24 08:51:08 +0100 |
| commit | 59f1b2c69e8f1d21106a486c72343c8a8610edb7 (patch) | |
| tree | c635ebc8567cf87c5b31806af91c07fb7f5a632f /Library/Formula | |
| parent | 3e131950587c83bc628fa0425c2a966af708f49f (diff) | |
| download | homebrew-59f1b2c69e8f1d21106a486c72343c8a8610edb7.tar.bz2 | |
git-annex: use gcc version_suffix class method.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/git-annex.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/git-annex.rb b/Library/Formula/git-annex.rb index d28094051..a91bf8fef 100644 --- a/Library/Formula/git-annex.rb +++ b/Library/Formula/git-annex.rb @@ -28,7 +28,9 @@ class GitAnnex < Formula cabal_sandbox do cabal_install_tools "alex", "happy", "c2hs" # gcc required to build gnuidn - cabal_install "--with-gcc=#{Formula["gcc"].bin}/gcc-4.8", "--only-dependencies" + gcc = Formula["gcc"] + cabal_install "--with-gcc=#{gcc.bin}/gcc-#{gcc.version_suffix}", + "--only-dependencies" cabal_install "--prefix=#{prefix}" end bin.install_symlink "git-annex" => "git-annex-shell" |
