From b9f8540bb5f582df7b0a4d1db0e35ab9dfafad65 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Fri, 5 Aug 2011 13:38:32 +0100 Subject: Glib and GTK+ won't build on Lion *without* LLVM Probably 10.6 LLVM is now good enough too, but can't test. --- Library/Formula/glib.rb | 3 ++- Library/Formula/gtk+.rb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'Library') 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", -- cgit v1.2.3