diff options
| author | jctull | 2013-10-06 13:18:11 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-13 22:06:58 -0800 |
| commit | e8496c455b156392f92ba2c43982139d7aa10b98 (patch) | |
| tree | 87fc51aeee97438883ad807645012807c1a21e2f | |
| parent | 6e1b40dd10ec2c9b5cbcda227a6e1c7420c5056e (diff) | |
| download | homebrew-e8496c455b156392f92ba2c43982139d7aa10b98.tar.bz2 | |
grass: updated patch for HEAD
Closes #23080.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/grass.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Library/Formula/grass.rb b/Library/Formula/grass.rb index 8ab15f09d..7f48a6455 100644 --- a/Library/Formula/grass.rb +++ b/Library/Formula/grass.rb @@ -25,9 +25,12 @@ 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. - if build.head? - def patches; "https://gist.github.com/jctull/0fe3db92a3e7c19fa6e0/raw/42e819f0a9b144de782c94f730dbc4da136e9227/grassPatchHead.diff"; end - else def patches; DATA; end + def patches; + if build.head? + "https://gist.github.com/jctull/0fe3db92a3e7c19fa6e0/raw/42e819f0a9b144de782c94f730dbc4da136e9227/grassPatchHead.diff" + else + DATA + end end fails_with :clang do |
