Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update fails_with_llvm in formulae

  • Loading branch information...
commit f4a925da5aee87cf7e2509116a495779a1af64b8 1 parent 8f16c41
@adamv adamv authored
Showing with 168 additions and 145 deletions.
  1. +2 −1  Library/Formula/aria2.rb
  2. +2 −1  Library/Formula/aspell.rb
  3. +3 −3 Library/Formula/bdw-gc.rb
  4. +2 −3 Library/Formula/boost.rb
  5. +2 −2 Library/Formula/cdargs.rb
  6. +2 −1  Library/Formula/cdparanoia.rb
  7. +2 −1  Library/Formula/cdrdao.rb
  8. +2 −1  Library/Formula/celt.rb
  9. +3 −4 Library/Formula/clisp.rb
  10. +2 −1  Library/Formula/dirac.rb
  11. +2 −1  Library/Formula/elinks.rb
  12. +2 −2 Library/Formula/emacs.rb
  13. +2 −1  Library/Formula/erlang.rb
  14. +2 −2 Library/Formula/flac.rb
  15. +2 −1  Library/Formula/flusspferd.rb
  16. +2 −2 Library/Formula/fontforge.rb
  17. +2 −1  Library/Formula/gawk.rb
  18. +3 −2 Library/Formula/gd.rb
  19. +2 −2 Library/Formula/gmp.rb
  20. +2 −2 Library/Formula/gnutls.rb
  21. +2 −2 Library/Formula/google-perftools.rb
  22. +2 −1  Library/Formula/gpgme.rb
  23. +2 −1  Library/Formula/graphicsmagick.rb
  24. +2 −2 Library/Formula/guile.rb
  25. +2 −1  Library/Formula/id3lib.rb
  26. +2 −2 Library/Formula/igraph.rb
  27. +2 −1  Library/Formula/jasper.rb
  28. +2 −1  Library/Formula/jnethack.rb
  29. +2 −1  Library/Formula/john.rb
  30. +2 −2 Library/Formula/libevent.rb
  31. +2 −1  Library/Formula/libexif.rb
  32. +2 −2 Library/Formula/libsigsegv.rb
  33. +3 −5 Library/Formula/libvirt.rb
  34. +2 −2 Library/Formula/libxml2.rb
  35. +2 −1  Library/Formula/log4cxx.rb
  36. +2 −2 Library/Formula/lua.rb
  37. +8 −15 Library/Formula/monotone.rb
  38. +2 −1  Library/Formula/mosh.rb
  39. +2 −1  Library/Formula/mysql-connector-c.rb
  40. +2 −2 Library/Formula/mysql.rb
  41. +2 −1  Library/Formula/nethack.rb
  42. +2 −1  Library/Formula/nmap.rb
  43. +2 −2 Library/Formula/node.rb
  44. +2 −1  Library/Formula/pango.rb
  45. +2 −2 Library/Formula/pbzip2.rb
  46. +2 −1  Library/Formula/pcre.rb
  47. +2 −2 Library/Formula/pdflib-lite.rb
  48. +5 −5 Library/Formula/portaudio.rb
  49. +2 −2 Library/Formula/povray.rb
  50. +2 −3 Library/Formula/proj.rb
  51. +2 −1  Library/Formula/pv.rb
  52. +2 −2 Library/Formula/redis.rb
  53. +4 −4 Library/Formula/redland.rb
  54. +2 −1  Library/Formula/ruby-enterprise-edition.rb
  55. +5 −5 Library/Formula/ruby.rb
  56. +2 −1  Library/Formula/sbcl.rb
  57. +2 −2 Library/Formula/silk.rb
  58. +6 −6 Library/Formula/sphinx.rb
  59. +2 −1  Library/Formula/spin.rb
  60. +2 −1  Library/Formula/streamripper.rb
  61. +3 −3 Library/Formula/swi-prolog.rb
  62. +2 −1  Library/Formula/syck.rb
  63. +2 −2 Library/Formula/tesseract.rb
  64. +2 −1  Library/Formula/ufraw.rb
  65. +2 −1  Library/Formula/unittest.rb
  66. +3 −5 Library/Formula/valgrind.rb
  67. +2 −1  Library/Formula/visualboyadvance.rb
  68. +2 −1  Library/Formula/vpnc.rb
  69. +2 −1  Library/Formula/w3m.rb
  70. +2 −1  Library/Formula/wine.rb
  71. +2 −2 Library/Formula/yaf.rb
  72. +2 −2 Library/Formula/zeromq.rb
View
3  Library/Formula/aria2.rb
@@ -5,8 +5,9 @@ class Aria2 < Formula
md5 '856cd88e75c7b893b42f4b6b8f2c0ad1'
homepage 'http://aria2.sourceforge.net/'
+ fails_with_llvm "1.8.2 didn't work w/ LLVM"
+
def install
- fails_with_llvm "1.8.2 didn't work w/ LLVM"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
View
3  Library/Formula/aspell.rb
@@ -13,6 +13,8 @@ class Aspell < Formula
homepage 'http://aspell.net/'
md5 'bc80f0198773d5c05086522be67334eb'
+ fails_with_llvm "Segmentation fault during linking."
+
def options
[
['--lang=XX,...', "Install dictionary for language XX where XX is the country code, e.g.: --lang=en,es\n\tAvailable country codes: #{available_languages.join(', ')}"],
@@ -21,7 +23,6 @@ def options
end
def install
- fails_with_llvm
system "./configure", "--prefix=#{prefix}"
system "make install"
View
6 Library/Formula/bdw-gc.rb
@@ -5,10 +5,10 @@ class BdwGc < Formula
homepage 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/'
md5 '2ff9924c7249ef7f736ecfe6f08f3f9b'
- def install
- fails_with_llvm "LLVM gives an unsupported inline asm error"
+ fails_with_llvm "LLVM gives an unsupported inline asm error"
- if MACOS_VERSION == 10.6
+ def install
+ if 10.6 <= MACOS_VERSION
# ucontext has been deprecated in 10.6
# use this flag to force the header to compile
ENV.append 'CPPFLAGS', "-D_XOPEN_SOURCE"
View
5 Library/Formula/boost.rb
@@ -12,10 +12,9 @@ def options
]
end
- def install
- fails_with_llvm "LLVM-GCC causes errors with dropped arguments to "+
- "functions when linking with boost"
+ fails_with_llvm "LLVM-GCC causes errors with dropped arguments to functions when linking with boost"
+ def install
# Adjust the name the libs are installed under to include the path to the
# Homebrew lib directory so executables will work when installed to a
# non-/usr/local location.
View
4 Library/Formula/cdargs.rb
@@ -5,9 +5,9 @@ class Cdargs < Formula
homepage 'http://www.skamphausen.de/cgi-bin/ska/CDargs'
md5 '50be618d67f0b9f2439526193c69c567'
- def install
- fails_with_llvm "Bus error in ld on SL 10.6.4"
+ fails_with_llvm "Bus error in ld on SL 10.6.4"
+ def install
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
system "make"
system "make install-strip"
View
3  Library/Formula/cdparanoia.rb
@@ -12,8 +12,9 @@ def patches
]
end
+ fails_with_llvm '"File too small" error while linking', :build => 2326
+
def install
- fails_with_llvm "\"File too small\" error while linking", :build => 2326
system "autoconf"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--mandir=#{man}"
View
3  Library/Formula/cdrdao.rb
@@ -17,8 +17,9 @@ def patches
"http://sourceforge.net/tracker/download.php?group_id=2171&atid=302171&file_id=369387&aid=2981804"
end
+ fails_with_llvm "Segfault while linking", :build => 2326
+
def install
- fails_with_llvm "Segfault while linking", :build => 2326
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--mandir=#{man}"
system "make install"
View
3  Library/Formula/celt.rb
@@ -7,8 +7,9 @@ class Celt < Formula
depends_on 'libogg' => :optional
+ fails_with_llvm "1 test failed with llvm-gcc"
+
def install
- fails_with_llvm "1 test failed with llvm-gcc"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-new-plc"
View
7 Library/Formula/clisp.rb
@@ -11,11 +11,10 @@ class Clisp < Formula
skip_clean :all # otherwise abort trap
- def install
- # This build isn't parallel safe.
- ENV.j1
+ fails_with_llvm "Fails during configure with LLVM GCC from XCode 4 on Snow Leopard"
- fails_with_llvm "Fails during configure with LLVM GCC from XCode 4 on Snow Leopard"
+ def install
+ ENV.j1 # This build isn't parallel safe.
# Clisp requires to select word size explicitly this way,
# set it in CFLAGS won't work.
View
3  Library/Formula/dirac.rb
@@ -5,8 +5,9 @@ class Dirac < Formula
md5 'a57c2c5e58062d437d9ab13dffb28f0f'
homepage 'http://diracvideo.org/'
+ fails_with_llvm
+
def install
- fails_with_llvm
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
View
3  Library/Formula/elinks.rb
@@ -5,8 +5,9 @@ class Elinks < Formula
url 'http://elinks.or.cz/download/elinks-0.11.7.tar.bz2'
md5 'fcd087a6d2415cd4c6fd1db53dceb646'
+ fails_with_llvm
+
def install
- fails_with_llvm
ENV.deparallelize
ENV.delete('LD')
system "./configure", "--prefix=#{prefix}", "--without-spidermonkey"
View
4 Library/Formula/emacs.rb
@@ -56,9 +56,9 @@ def caveats
return s
end
- def install
- fails_with_llvm "Duplicate symbol errors while linking."
+ fails_with_llvm "Duplicate symbol errors while linking."
+ def install
args = ["--prefix=#{prefix}",
"--without-dbus",
"--enable-locallisppath=#{HOMEBREW_PREFIX}/share/emacs/site-lisp",
View
3  Library/Formula/erlang.rb
@@ -32,9 +32,10 @@ def options
]
end
+ fails_with_llvm "See https://github.com/mxcl/homebrew/issues/issue/120", :build => 2326
+
def install
ENV.deparallelize
- fails_with_llvm "See https://github.com/mxcl/homebrew/issues/issue/120", :build => 2326
# If building from GitHub, this step is required (but not for tarball downloads.)
system "./otp_build autoconf" if File.exist? "otp_build"
View
4 Library/Formula/flac.rb
@@ -13,9 +13,9 @@ class Flac < Formula
depends_on 'lame'
depends_on 'libogg' => :optional
- def install
- fails_with_llvm "Undefined symbols when linking", :build => 2326
+ fails_with_llvm "Undefined symbols when linking", :build => 2326
+ def install
# sadly the asm optimisations won't compile since Leopard, and nobody
# cares or knows how to fix it
system "./configure", "--disable-debug",
View
3  Library/Formula/flusspferd.rb
@@ -11,8 +11,9 @@ class Flusspferd < Formula
depends_on 'boost'
depends_on 'spidermonkey'
+ fails_with_llvm
+
def install
- fails_with_llvm
system "cmake -H. -Bbuild #{std_cmake_parameters}"
system "make install"
end
View
4 Library/Formula/fontforge.rb
@@ -11,9 +11,9 @@ class Fontforge < Formula
depends_on 'pango'
depends_on 'potrace'
- def install
- fails_with_llvm "Compiling cvexportdlg.c fails with error: initializer element is not constant"
+ fails_with_llvm "Compiling cvexportdlg.c fails with error: initializer element is not constant"
+ def install
ENV.x11
# Fix linker error; see: http://trac.macports.org/ticket/25012
ENV.append "LDFLAGS", "-lintl"
View
3  Library/Formula/gawk.rb
@@ -5,8 +5,9 @@ class Gawk < Formula
homepage 'http://www.gnu.org/software/gawk/'
md5 '52b41c6c4418b3226dfb8f82076193bb'
+ fails_with_llvm "Undefined symbols when linking", :build => "2326"
+
def install
- fails_with_llvm "Undefined symbols when linking", :build => "2326"
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
View
5 Library/Formula/gd.rb
@@ -8,9 +8,10 @@ class Gd < Formula
depends_on 'jpeg' => :recommended
+ fails_with_llvm "Undefined symbols when linking", :build => "2326"
+
def install
- fails_with_llvm "Undefined symbols when linking", :build => "2326"
- ENV.libpng
+ ENV.x11
system "./configure", "--prefix=#{prefix}", "--with-freetype=/usr/X11"
system "make install"
(lib+'pkgconfig/gdlib.pc').write pkg_file
View
4 Library/Formula/gmp.rb
@@ -12,14 +12,14 @@ def options
]
end
+ fails_with_llvm "Tests fail to compile; missing references in 'llvm bitcode in libtests.a(misc.o)'."
+
def install
# Reports of problems using gcc 4.0 on Leopard
# https://github.com/mxcl/homebrew/issues/issue/2302
# Also force use of 4.2 on 10.6 in case a user has changed the default
ENV.gcc_4_2
- fails_with_llvm "Tests fail to compile; missing references in 'llvm bitcode in libtests.a(misc.o)'."
-
args = ["--prefix=#{prefix}", "--infodir=#{info}", "--enable-cxx"]
if Hardware.is_32_bit? or ARGV.include? "--32-bit"
View
4 Library/Formula/gnutls.rb
@@ -13,9 +13,9 @@ def patches
DATA
end
- def install
- fails_with_llvm "Undefined symbols when linking", :build => "2326"
+ fails_with_llvm "Undefined symbols when linking", :build => "2326"
+ def install
ENV.universal_binary # build fat so wine can use it
system "./configure", "--disable-debug", "--disable-dependency-tracking",
View
4 Library/Formula/google-perftools.rb
@@ -5,9 +5,9 @@ class GooglePerftools < Formula
homepage 'http://code.google.com/p/google-perftools/'
md5 '7acfee8d3e2ba968d20684e9f7033015'
- def install
- fails_with_llvm "Segfault during linking", :build => 2326
+ fails_with_llvm "Segfault during linking", :build => 2326
+ def install
ENV.append_to_cflags '-D_XOPEN_SOURCE'
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
View
3  Library/Formula/gpgme.rb
@@ -9,8 +9,9 @@ class Gpgme < Formula
depends_on 'libgpg-error'
depends_on 'libassuan'
+ fails_with_llvm
+
def install
- fails_with_llvm
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-asm"
View
3  Library/Formula/graphicsmagick.rb
@@ -33,6 +33,8 @@ class Graphicsmagick < Formula
depends_on 'ghostscript' => :recommended if ghostscript_srsly? and x11?
depends_on 'libpng' unless x11?
+ fails_with_llvm
+
def skip_clean? path
path.extname == '.la'
end
@@ -46,7 +48,6 @@ def options
end
def install
- fails_with_llvm
ENV.libpng
ENV.O3
View
4 Library/Formula/guile.rb
@@ -20,9 +20,9 @@ class Guile < Formula
# GNU Readline is required; libedit won't work.
depends_on 'readline'
- def install
- fails_with_llvm "Segfaults during compilation."
+ fails_with_llvm "Segfaults during compilation."
+ def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-libreadline-prefix=#{Formula.factory('readline').prefix}"
View
3  Library/Formula/id3lib.rb
@@ -10,8 +10,9 @@ def patches
{:p1 => DATA }
end unless ARGV.build_head?
+ fails_with_llvm "Segfault during linking", :build => 2326
+
def install
- fails_with_llvm "Segfault during linking", :build => 2326
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
View
4 Library/Formula/igraph.rb
@@ -8,9 +8,9 @@ class Igraph < Formula
depends_on 'glpk'
depends_on 'gmp'
- def install
- fails_with_llvm "Segfault while compiling."
+ fails_with_llvm "Segfault while compiling."
+ def install
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
View
3  Library/Formula/jasper.rb
@@ -11,8 +11,9 @@ def patches
DATA
end
+ fails_with_llvm "Undefined symbols when linking", :build => "2326"
+
def install
- fails_with_llvm "Undefined symbols when linking", :build => "2326"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--enable-shared",
View
3  Library/Formula/jnethack.rb
@@ -11,6 +11,8 @@ class Jnethack < Formula
version '3.4.3-0.10'
md5 '21479c95990eefe7650df582426457f9'
+ fails_with_llvm
+
# Don't remove save folder
skip_clean 'libexec/save'
@@ -22,7 +24,6 @@ def patches
end
def install
- fails_with_llvm
# Build everything in-order; no multi builds.
ENV.deparallelize
View
3  Library/Formula/john.rb
@@ -9,9 +9,10 @@ def patches
{ :p0 => DATA }
end
+ fails_with_llvm
+
def install
ENV.deparallelize
- fails_with_llvm
arch = Hardware.is_64_bit? ? '64' : 'sse2'
Dir.chdir 'src' do
View
4 Library/Formula/libevent.rb
@@ -6,9 +6,9 @@ class Libevent < Formula
md5 'a37401d26cbbf28185211d582741a3d4'
head 'git://levent.git.sourceforge.net/gitroot/levent/levent'
- def install
- fails_with_llvm "Undefined symbol '_current_base' reported during linking.", :build => 2326
+ fails_with_llvm "Undefined symbol '_current_base' reported during linking.", :build => 2326
+ def install
ENV.j1 # Needed for Mac Pro compilation
system "./autogen.sh" if ARGV.build_head?
system "./configure", "--prefix=#{prefix}"
View
3  Library/Formula/libexif.rb
@@ -5,8 +5,9 @@ class Libexif < Formula
homepage 'http://libexif.sourceforge.net/'
md5 '56144a030a4c875c600b1ccf713f69f7'
+ fails_with_llvm "segfault with llvm"
+
def install
- fails_with_llvm "segfault with llvm"
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make install"
end
View
4 Library/Formula/libsigsegv.rb
@@ -5,9 +5,9 @@ class Libsigsegv < Formula
homepage 'http://www.gnu.org/software/libsigsegv/'
md5 'ebe554e26870d8bc200ef3e3539ffd7c'
- def install
- fails_with_llvm "Fails during configure with LLVM GCC from XCode 4 on Snow Leopard"
+ fails_with_llvm "Fails during configure with LLVM GCC from XCode 4 on Snow Leopard"
+ def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
View
8 Library/Formula/libvirt.rb
@@ -14,20 +14,18 @@ class Libvirt < Formula
depends_on "yajl"
if MACOS_VERSION < 10.6
- # Definitely needed on Leopard, but definitely not Snow Leopard.
- # Likely also needed on earlier OSX releases, though that hasn't
- # been tested yet.
+ # Definitely needed on Leopard, but not on Snow Leopard.
depends_on "readline"
depends_on "libxml2"
end
+ fails_with_llvm "Undefined symbols when linking", :build => "2326"
+
def options
[['--without-libvirtd', 'Build only the virsh client and development libraries.']]
end
def install
- fails_with_llvm "Undefined symbols when linking", :build => "2326"
-
args = ["--prefix=#{prefix}",
"--localstatedir=#{var}",
"--mandir=#{man}",
View
4 Library/Formula/libxml2.rb
@@ -7,14 +7,14 @@ class Libxml2 < Formula
keg_only :provided_by_osx
+ fails_with_llvm "Undefined symbols when linking", :build => "2326"
+
def options
# Works with the Python 2 formula
[['--with-python', 'Compile the libxml2 Python 2.x modules']]
end
def install
- fails_with_llvm "Undefined symbols when linking", :build => "2326"
-
args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
if ARGV.include? '--with-python'
View
3  Library/Formula/log4cxx.rb
@@ -5,8 +5,9 @@ class Log4cxx < Formula
homepage 'http://logging.apache.org/log4cxx/index.html'
md5 'b30ffb8da3665178e68940ff7a61084c'
+ fails_with_llvm "Fails with \"collect2: ld terminated with signal 11 [Segmentation fault]\"."
+
def install
- fails_with_llvm "Fails with \"collect2: ld terminated with signal 11 [Segmentation fault]\"."
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
# Docs won't install on OS X
View
4 Library/Formula/lua.rb
@@ -5,12 +5,12 @@ class Lua < Formula
homepage 'http://www.lua.org/'
md5 'd0870f2de55d59c1c8419f36e8fac150'
+ fails_with_llvm "Lua itself compiles with llvm, but may fail when other software tries to link."
+
# Skip cleaning both empty folders and bin/libs so external symbols still work.
skip_clean :all
def install
- fails_with_llvm "Lua itself compiles with llvm, but may fail when other software trys to link."
-
# Apply patch-level 2
curl "http://www.lua.org/ftp/patch-lua-5.1.4-3", "-O"
safe_system '/usr/bin/patch', '-d', 'src', '-i', '../patch-lua-5.1.4-3'
View
23 Library/Formula/monotone.rb
@@ -12,30 +12,23 @@ class Monotone < Formula
depends_on 'lua'
depends_on 'pcre'
- def install
- fails_with_llvm "linker fails"
-
- def install_body
- system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
- system "make install"
- end
+ fails_with_llvm "linker fails"
+ def install
# Monotone only needs headers from Boost (it's templates all the way down!), so let's avoid
# building boost (which takes approximately forever) if it's not already installed. This is
# suggested in the Monotone installation instructions.
boost = Formula.factory('boost')
- if boost.installed?
- install_body
- else
- monotone_dir = Dir.pwd
+ unless boost.installed?
# a formula's stage method is private, so we cannot call boost.stage
boost.brew do
- boost_dir = Dir.pwd
- ENV.append "CXXFLAGS", "-I"+boost_dir
- Dir.chdir monotone_dir
- install_body
+ ENV.append "CXXFLAGS", "-I"+Dir.pwd
end
end
+
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
end
end
View
3  Library/Formula/mosh.rb
@@ -9,8 +9,9 @@ class Mosh < Formula
depends_on 'gmp'
depends_on 'oniguruma'
+ fails_with_llvm
+
def install
- fails_with_llvm
ENV.gcc_4_2 # GCC > 4.0 required
system "./configure", "--disable-debug", "--disable-dependency-tracking",
View
3  Library/Formula/mysql-connector-c.rb
@@ -7,8 +7,9 @@ class MysqlConnectorC < Formula
depends_on 'cmake' => :build
+ fails_with_llvm "error: unsupported inline asm"
+
def install
- fails_with_llvm "error: unsupported inline asm"
system "cmake . #{std_cmake_parameters}"
system 'make'
ENV.j1
View
4 Library/Formula/mysql.rb
@@ -8,6 +8,8 @@ class Mysql < Formula
depends_on 'cmake' => :build
depends_on 'readline'
+ fails_with_llvm "https://github.com/mxcl/homebrew/issues/issue/144"
+
def options
[
['--with-tests', "Keep tests when installing."],
@@ -21,8 +23,6 @@ def patches
end
def install
- fails_with_llvm "https://github.com/mxcl/homebrew/issues/issue/144"
-
args = [
".",
"-DCMAKE_INSTALL_PREFIX='#{prefix}'",
View
3  Library/Formula/nethack.rb
@@ -16,6 +16,8 @@ class Nethack < Formula
version '3.4.3'
md5 '21479c95990eefe7650df582426457f9'
+ fails_with_llvm
+
# Don't remove save folder
skip_clean 'libexec/save'
@@ -24,7 +26,6 @@ def patches
end
def install
- fails_with_llvm
# Build everything in-order; no multi builds.
ENV.deparallelize
View
3  Library/Formula/nmap.rb
@@ -8,8 +8,9 @@ class Nmap < Formula
# namp needs newer version of openssl on Leopard
depends_on "openssl" if MACOS_VERSION < 10.6
+ fails_with_llvm
+
def install
- fails_with_llvm
ENV.deparallelize
args = ["--prefix=#{prefix}", "--without-zenmap"]
View
4 Library/Formula/node.rb
@@ -6,6 +6,8 @@ class Node < Formula
homepage 'http://nodejs.org/'
md5 'a2a6a6699e275a30f6047b1f33281a77'
+ fails_with_llvm
+
# Stripping breaks dynamic loading
skip_clean :all
@@ -14,8 +16,6 @@ def options
end
def install
- fails_with_llvm
-
inreplace 'wscript' do |s|
s.gsub! '/usr/local', HOMEBREW_PREFIX
s.gsub! '/opt/local/lib', '/usr/lib'
View
3  Library/Formula/pango.rb
@@ -8,13 +8,14 @@ class Pango < Formula
depends_on 'pkg-config' => :build
depends_on 'glib'
+ fails_with_llvm "Undefined symbols when linking", :build => "2326"
+
if MACOS_VERSION < 10.6
depends_on 'fontconfig' # Leopard's fontconfig is too old.
depends_on 'cairo' # Leopard doesn't come with Cairo.
end
def install
- fails_with_llvm "Undefined symbols when linking", :build => "2326"
system "./configure", "--prefix=#{prefix}", "--with-x"
system "make install"
end
View
4 Library/Formula/pbzip2.rb
@@ -5,9 +5,9 @@ class Pbzip2 < Formula
homepage 'http://compression.ca/pbzip2/'
md5 'b354422759da7113da366aad1876ed5d'
- def install
- fails_with_llvm
+ fails_with_llvm
+ def install
inreplace "Makefile" do |s|
s.change_make_var! 'PREFIX', prefix
s.gsub! "/man/", "/share/man/"
View
3  Library/Formula/pcre.rb
@@ -5,12 +5,13 @@ class Pcre < Formula
homepage 'http://www.pcre.org/'
md5 'f14a9fef3c92f3fc6c5ac92d7a2c7eb3'
+ fails_with_llvm "Bus error in ld on SL 10.6.4"
+
def options
[["--universal", "Build a universal binary."]]
end
def install
- fails_with_llvm "Bus error in ld on SL 10.6.4"
ENV.universal_binary if ARGV.include? "--universal"
system "./configure", "--disable-dependency-tracking",
View
4 Library/Formula/pdflib-lite.rb
@@ -6,9 +6,9 @@ class PdflibLite < Formula
md5 '1765de9c5f2b6c5769a2160eaa911e9a'
version "7.0.4p4"
- def install
- fails_with_llvm "SL 10.6.1 LLVM crashes with an internal compiler error on this version."
+ fails_with_llvm "SL 10.6.1 LLVM crashes with an internal compiler error on this version."
+ def install
# Without the following substituion, pdflib-lite runs into weird
# build errors due to bad interactions with the TIFF headers.
# This workaround comes from the MacPorts.org portfile for pdflib.
View
10 Library/Formula/portaudio.rb
@@ -5,16 +5,16 @@ class Portaudio < Formula
homepage 'http://www.portaudio.com'
md5 'd2943e4469834b25afe62cc51adc025f'
- def install
- fails_with_llvm
+ depends_on 'pkg-config' => :build
+
+ fails_with_llvm
+ def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
# remove arch flags else we get errors like:
# lipo: can't figure out the architecture type
- ['-arch x86_64', '-arch ppc64', '-arch i386', '-arch ppc'].each do |arch|
- inreplace "Makefile", arch, ""
- end
+ inreplace 'Makefile', /-arch (x64_64|ppc64|i386|ppc)/, ''
system "make install"
View
4 Library/Formula/povray.rb
@@ -8,9 +8,9 @@ class Povray < Formula
depends_on 'libtiff' => :optional
depends_on 'jpeg' => :optional
- def install
- fails_with_llvm "llvm-gcc: povray fails with 'terminate called after throwing an instance of int'"
+ fails_with_llvm "llvm-gcc: povray fails with 'terminate called after throwing an instance of int'"
+ def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"COMPILED_BY=homebrew",
"--prefix=#{prefix}",
View
5 Library/Formula/proj.rb
@@ -10,13 +10,13 @@ class Proj < Formula
homepage 'http://trac.osgeo.org/proj/'
md5 '927d34623b52e0209ba2bfcca18fe8cd'
+ fails_with_llvm
+
def skip_clean? path
path.extname == '.la'
end
def install
- fails_with_llvm
-
# The datum grid files are required to support datum shifting
d = Dir.getwd
ProjDatumgrid.new.brew { cp Dir["*"], "#{d}/nad/" }
@@ -25,4 +25,3 @@ def install
system "make install"
end
end
-
View
3  Library/Formula/pv.rb
@@ -5,8 +5,9 @@ class Pv < Formula
homepage 'http://www.ivarch.com/programs/pv.shtml'
md5 '67aedf6dbcd068d5feeaa76156153f4f'
+ fails_with_llvm
+
def install
- fails_with_llvm
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}",
View
4 Library/Formula/redis.rb
@@ -6,9 +6,9 @@ class Redis < Formula
homepage 'http://redis.io/'
sha1 '75b953e4a3067570555c5f3f5e8f481c40489904'
- def install
- fails_with_llvm "Fails with \"reference out of range from _linenoise\""
+ fails_with_llvm "Fails with \"reference out of range from _linenoise\""
+ def install
# Architecture isn't detected correctly on 32bit Snow Leopard without help
ENV["OBJARCH"] = MacOS.prefer_64_bit? ? "-arch x86_64" : "-arch i386"
View
8 Library/Formula/redland.rb
@@ -10,11 +10,11 @@ class Redland < Formula
depends_on 'rasqal'
depends_on 'berkeley-db' => :optional
+ fails_with_llvm
+
def install
- fails_with_llvm
- system "./configure", "--prefix=#{prefix}",
- "--disable-debug",
- "--disable-dependency-tracking",
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
"--with-sqlite=yes",
"--with-mysql=no",
"--with-bdb=#{HOMEBREW_PREFIX}"
View
3  Library/Formula/ruby-enterprise-edition.rb
@@ -7,6 +7,8 @@ class RubyEnterpriseEdition < Formula
depends_on 'readline'
+ fails_with_llvm "fails with LLVM"
+
skip_clean 'bin/ruby'
def options
@@ -16,7 +18,6 @@ def options
def install
readline = Formula.factory('readline').prefix
- fails_with_llvm "fails with LLVM"
args = ['./installer', "--auto", prefix, '--no-tcmalloc']
args << '-c' << '--enable-shared' if ARGV.include? '--enable-shared'
# Configure will complain that this is an unknown option, but it is actually OK
View
10 Library/Formula/ruby.rb
@@ -9,6 +9,11 @@ class Ruby < Formula
depends_on 'readline'
depends_on 'libyaml'
+ fails_with_llvm
+
+ # Stripping breaks dynamic linking
+ skip_clean :all
+
def options
[
["--with-suffix", "Add a 19 suffix to commands"],
@@ -17,12 +22,7 @@ def options
]
end
- # Stripping breaks dynamic linking
- skip_clean :all
-
def install
- fails_with_llvm
-
ruby_lib = HOMEBREW_PREFIX+"lib/ruby"
if File.exist? ruby_lib and File.symlink? ruby_lib
View
3  Library/Formula/sbcl.rb
@@ -12,6 +12,8 @@ class Sbcl < Formula
md5 '83f094aa36edce2d69214330890f05e5'
head 'git://sbcl.boinkor.net/sbcl.git'
+ fails_with_llvm "Compilation fails with LLVM."
+
skip_clean 'bin'
skip_clean 'lib'
@@ -39,7 +41,6 @@ def write_features
end
def install
- fails_with_llvm "Compilation fails with LLVM."
write_features
build_directory = Dir.pwd
View
4 Library/Formula/silk.rb
@@ -10,9 +10,9 @@ class Silk < Formula
depends_on 'libfixbuf'
depends_on 'yaf'
- def install
- fails_with_llvm "Undefined symbols during compile"
+ fails_with_llvm "Undefined symbols during compile"
+ def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}",
View
12 Library/Formula/sphinx.rb
@@ -6,15 +6,15 @@ class Sphinx < Formula
md5 '7b9b618cb9b378f949bb1b91ddcc4f54'
head 'http://sphinxsearch.googlecode.com/svn/trunk/'
- def install
- fails_with_llvm "fails with: ld: rel32 out of range in _GetPrivateProfileString from /usr/lib/libodbc.a(SQLGetPrivateProfileString.o)"
+ fails_with_llvm "fails with: ld: rel32 out of range in _GetPrivateProfileString from /usr/lib/libodbc.a(SQLGetPrivateProfileString.o)"
- config_args = ["--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"]
+ def install
+ args = ["--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"]
# configure script won't auto-select PostgreSQL
- config_args << "--with-pgsql" if `/usr/bin/which pg_config`.size > 0
- config_args << "--without-mysql" if `/usr/bin/which mysql`.size <= 0
+ args << "--with-pgsql" if `/usr/bin/which pg_config`.size > 0
+ args << "--without-mysql" if `/usr/bin/which mysql`.size <= 0
- system "./configure", *config_args
+ system "./configure", *args
system "make install"
end
View
3  Library/Formula/spin.rb
@@ -6,12 +6,13 @@ class Spin < Formula
md5 '03345f9713e7b4f82d2d8ec319802b9c'
version '5.2.5'
+ fails_with_llvm
+
def patches
DATA
end
def install
- fails_with_llvm
ENV.deparallelize
# Compile and install the binary.
View
3  Library/Formula/streamripper.rb
@@ -7,8 +7,9 @@ class Streamripper < Formula
depends_on 'glib'
+ fails_with_llvm "strange runtime errors with llvm"
+
def install
- fails_with_llvm "strange runtime errors with llvm"
File.chmod 0755, "./install-sh" # without this 'make install' doesn't seem to work (permission denied)
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
View
6 Library/Formula/swi-prolog.rb
@@ -6,7 +6,7 @@ class SwiProlog < Formula
homepage 'http://www.swi-prolog.org/'
md5 '7973bcfd3854ae0cb647cc62f2faabcf'
- depends_on 'pkg-config'
+ depends_on 'pkg-config' => :build
depends_on 'readline'
depends_on 'gmp'
depends_on 'jpeg'
@@ -17,14 +17,14 @@ class SwiProlog < Formula
depends_on 'fontconfig' if MACOS_VERSION < 10.6
depends_on 'expat' if MACOS_VERSION < 10.6
+ fails_with_llvm "Exported procedure chr_translate:chr_translate_line_info/3 is not defined"
+
def options
[['--lite', "Don't install any packages; overrides --with-jpl"],
['--without-jpl', "Include JPL, the Java-Prolog Bridge"]]
end
def install
- fails_with_llvm "Exported procedure chr_translate:chr_translate_line_info/3 is not defined"
-
args = ["--prefix=#{prefix}", "--mandir=#{man}"]
ENV.append 'DISABLE_PKGS', "jpl" if ARGV.include? "--without-jpl"
View
3  Library/Formula/syck.rb
@@ -5,8 +5,9 @@ class Syck < Formula
homepage 'https://wiki.github.com/indeyets/syck/'
md5 '198f925b4ed7fe04a182c35014498634'
+ fails_with_llvm
+
def install
- fails_with_llvm
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
View
4 Library/Formula/tesseract.rb
@@ -13,9 +13,9 @@ class Tesseract < Formula
depends_on 'libtiff'
- def install
- fails_with_llvm "Executable 'tesseract' segfaults on 10.6 when compiled with llvm-gcc", :build => "2206"
+ fails_with_llvm "Executable 'tesseract' segfaults on 10.6 when compiled with llvm-gcc", :build => "2206"
+ def install
# 'make install' expects the language data files in the build directory
d = Dir.getwd
TesseractEnglishData.new.brew { cp Dir["*"], "#{d}/tessdata/" }
View
3  Library/Formula/ufraw.rb
@@ -13,8 +13,9 @@ class Ufraw < Formula
depends_on 'dcraw'
depends_on 'exiv2' => :optional
+ fails_with_llvm "Compiling with LLVM gives a segfault while linking."
+
def install
- fails_with_llvm "Compiling with LLVM gives a segfault while linking."
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--without-gtk",
View
3  Library/Formula/unittest.rb
@@ -5,8 +5,9 @@ class Unittest < Formula
homepage 'http://unittest.red-bean.com/'
md5 'e77615162141b23a78adcda929d58d61'
+ fails_with_llvm
+
def install
- fails_with_llvm
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
View
8 Library/Formula/valgrind.rb
@@ -8,17 +8,15 @@ class Valgrind < Formula
depends_on 'pkg-config' => :build
+ fails_with_llvm "Makes applications segfault on startup", :build => 2326
+
skip_clean 'lib'
def install
- fails_with_llvm "Makes applications segfault on startup", :build => 2326
-
system "./autogen.sh" if File.exists? "autogen.sh"
args = ["--prefix=#{prefix}", "--mandir=#{man}"]
- if MacOS.prefer_64_bit?
- args << "--enable-only64bit" << "--build=amd64-darwin"
- end
+ args << "--enable-only64bit" << "--build=amd64-darwin" if MacOS.prefer_64_bit?
system "./configure", *args
system "make install"
View
3  Library/Formula/visualboyadvance.rb
@@ -8,10 +8,11 @@ class Visualboyadvance < Formula
depends_on 'pkg-config' => :build
depends_on 'sdl'
+ fails_with_llvm "Video scalers don't link with LLVM."
+
def patches; DATA; end
def install
- fails_with_llvm "Video scalers don't link with LLVM."
ENV.x11 # for libpng
system "./configure", "--disable-dependency-tracking", "--disable-debug",
View
3  Library/Formula/vpnc.rb
@@ -8,6 +8,8 @@ class Vpnc < Formula
depends_on 'libgcrypt'
depends_on 'libgpg-error'
+ fails_with_llvm
+
skip_clean 'etc'
skip_clean 'var'
@@ -16,7 +18,6 @@ def options
end
def install
- fails_with_llvm
ENV.no_optimization
ENV.deparallelize
View
3  Library/Formula/w3m.rb
@@ -7,8 +7,9 @@ class W3m < Formula
depends_on 'bdw-gc'
+ fails_with_llvm
+
def install
- fails_with_llvm
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-image"
View
3  Library/Formula/wine.rb
@@ -17,6 +17,8 @@ class Wine < Formula
depends_on 'libicns'
depends_on 'gnutls'
+ fails_with_llvm
+
# the following libraries are currently not specified as dependencies, or not built as 32-bit:
# configure: libsane, libv4l, libgphoto2, liblcms, gstreamer-0.10, libcapi20, libgsm, libtiff
@@ -32,7 +34,6 @@ def wine_wrapper; <<-EOS
end
def install
- fails_with_llvm
ENV.x11
# Build 32-bit; Wine doesn't support 64-bit host builds on OS X.
View
4 Library/Formula/yaf.rb
@@ -9,9 +9,9 @@ class Yaf < Formula
depends_on 'glib'
depends_on 'libfixbuf'
- def install
- fails_with_llvm "Undefined symbols during compile"
+ fails_with_llvm "Undefined symbols during compile"
+ def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
View
4 Library/Formula/zeromq.rb
@@ -6,6 +6,8 @@ class Zeromq < Formula
homepage 'http://www.zeromq.org/'
md5 'ae681af2df1b7191aeecfcb23bb73864'
+ fails_with_llvm "Compiling with LLVM gives a segfault while linking."
+
def options
[['--universal', 'Build as a Universal Intel binary.']]
end
@@ -29,8 +31,6 @@ def build_fat
end
def install
- fails_with_llvm "Compiling with LLVM gives a segfault while linking."
-
system "./autogen.sh" if ARGV.build_head?
if ARGV.include? '--universal'
Please sign in to comment.
Something went wrong with that request. Please try again.