diff options
| author | Leo Franchi | 2013-12-13 21:09:31 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2013-12-14 13:47:14 -0800 |
| commit | 53d6b9d25eae1a5859455950f9973904cafa8bad (patch) | |
| tree | 8508f5d4acd40699aefd1a9f8b2453ccf6602d2c /Library/Formula | |
| parent | 4d610f11cfc47078d1eaeb8449cc27aacab84ceb (diff) | |
| download | homebrew-53d6b9d25eae1a5859455950f9973904cafa8bad.tar.bz2 | |
clucene: fix --HEAD build
Closes #25191.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/clucene.rb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Library/Formula/clucene.rb b/Library/Formula/clucene.rb index 3b101f843..cbd2138f9 100644 --- a/Library/Formula/clucene.rb +++ b/Library/Formula/clucene.rb @@ -15,10 +15,14 @@ class Clucene < Formula # Fix libpthread dependencies in OS X 10.9 # Based on MacPorts patches: http://trac.macports.org/ticket/40899 # Reported upstream: http://sourceforge.net/p/clucene/bugs/219/ - {:p0 => [ - 'https://gist.github.com/tlvince/7934499/raw/d0859996dbda8f4cf643d091ae6b491f0a64da59/CLucene-LuceneThreads.h.diff', - 'https://gist.github.com/tlvince/7935339/raw/fd78b1ada278eaf1904e1437efa0f2a1265041a9/CLucene-config-repl_tchar.h.diff' - ]} + if build.head? + 'https://gist.github.com/lfranchi/7954811/raw/828176c01a8f2c1c11eff43bf6773242955dabab/CLucene-HEAD-mavericks.patch' + else + {:p0 => [ + 'https://gist.github.com/tlvince/7934499/raw/d0859996dbda8f4cf643d091ae6b491f0a64da59/CLucene-LuceneThreads.h.diff', + 'https://gist.github.com/tlvince/7935339/raw/fd78b1ada278eaf1904e1437efa0f2a1265041a9/CLucene-config-repl_tchar.h.diff' + ]} + end end end |
