diff options
| author | Lee Hanxue | 2013-12-10 16:48:04 +0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-12-13 07:50:18 -0800 |
| commit | 674bd61450c4d2fdc7f5a04bf55b66653290f1e9 (patch) | |
| tree | e113a80185756c4c8fe0d1ee540d43a6d9ca86c1 /Library | |
| parent | f07a71df2ad1c3b68abe7ef69c3222d29ba86d4b (diff) | |
| download | homebrew-674bd61450c4d2fdc7f5a04bf55b66653290f1e9.tar.bz2 | |
clucene: fix build error on 10.9
Closes #25179.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/clucene.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/clucene.rb b/Library/Formula/clucene.rb index c04c24704..76044e494 100644 --- a/Library/Formula/clucene.rb +++ b/Library/Formula/clucene.rb @@ -10,6 +10,18 @@ class Clucene < Formula depends_on 'cmake' => :build end + def patches + if MacOS.version >= :mavericks + # 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' + ]} + end + end + def install if build.head? system "cmake", ".", *std_cmake_args |
