diff options
| author | jctull | 2013-10-06 13:00:35 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-13 22:06:16 -0800 |
| commit | 6e1b40dd10ec2c9b5cbcda227a6e1c7420c5056e (patch) | |
| tree | ccd8783b378af62ba88d771d71d8b480ee24c1d2 /Library/Formula | |
| parent | 95420b9b5f2ba0f48af4fe1585e6f09c9aea1953 (diff) | |
| download | homebrew-6e1b40dd10ec2c9b5cbcda227a6e1c7420c5056e.tar.bz2 | |
Update grass.rb
If building head, the existing patch fails because the handling of Documentation in the install procedure is altered. This creates an alternate patch based on build.head? linked to a gist that removes the issue in a working manner.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/grass.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/grass.rb b/Library/Formula/grass.rb index f84b101ce..8ab15f09d 100644 --- a/Library/Formula/grass.rb +++ b/Library/Formula/grass.rb @@ -25,7 +25,10 @@ class Grass < Formula depends_on :x11 # needs to find at least X11/include/GL/gl.h # Patches that files are not installed outside of the prefix. - def patches; DATA; end + if build.head? + def patches; "https://gist.github.com/jctull/0fe3db92a3e7c19fa6e0/raw/42e819f0a9b144de782c94f730dbc4da136e9227/grassPatchHead.diff"; end + else def patches; DATA; end + end fails_with :clang do cause "Multiple build failures while compiling GRASS tools." |
