aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2011-08-05 13:38:32 +0100
committerMax Howell2011-08-05 13:55:26 +0100
commitb9f8540bb5f582df7b0a4d1db0e35ab9dfafad65 (patch)
tree4d9959753e07d99b5c9b175da0a417494458af2d
parent9fa2a4a38e411c1271c8d3b4ddc1c5f722473d51 (diff)
downloadhomebrew-b9f8540bb5f582df7b0a4d1db0e35ab9dfafad65.tar.bz2
Glib and GTK+ won't build on Lion *without* LLVM
Probably 10.6 LLVM is now good enough too, but can't test.
-rw-r--r--Library/Formula/glib.rb3
-rw-r--r--Library/Formula/gtk+.rb2
2 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/glib.rb b/Library/Formula/glib.rb
index 7318bac75..41aacce0a 100644
--- a/Library/Formula/glib.rb
+++ b/Library/Formula/glib.rb
@@ -10,7 +10,8 @@ class Glib < Formula
depends_on 'pkg-config' => :build
depends_on 'gettext'
- fails_with_llvm "Undefined symbol errors while linking"
+ fails_with_llvm "Undefined symbol errors while linking" unless MacOS.lion?
+
# Lion and Snow Leopard don't have a 64 bit version of the iconv_open
# function. The fact that Lion still doesn't is ridiculous. But we're as
# much to blame. Nobody reported the bug FFS. And I'm still not going to
diff --git a/Library/Formula/gtk+.rb b/Library/Formula/gtk+.rb
index 1ede34195..3707f2506 100644
--- a/Library/Formula/gtk+.rb
+++ b/Library/Formula/gtk+.rb
@@ -19,7 +19,7 @@ class Gtkx < Formula
depends_on 'jasper' => :optional
depends_on 'atk' => :optional
- fails_with_llvm "Undefined symbols when linking", :build => "2326"
+ fails_with_llvm "Undefined symbols when linking", :build => "2326" unless MacOS.lion?
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",