mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-29 20:29:40 -05:00
pango, pixman, graphviz: Fixes for Lion PDF output
Related issue on MacPorts: https://trac.macports.org/ticket/30370 Fixes #6631. Fixes #7140. Fixes #7463. Closes #7523. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
This commit is contained in:
1 parent
b0b39e944a
commit
85ead600dc
3 files changed
+11
-1
No files matched your search
@@ -9,7 +9,8 @@ class Graphviz < Formula
|
||||
|
||||
if ARGV.include? '--with-pdf'
|
||||
depends_on 'pango'
|
||||
depends_on 'cairo' if MacOS.leopard?
|
||||
depends_on 'cairo' if MacOS.leopard? or MacOS.lion?
|
||||
depends_on 'gd' if MacOS.lion?
|
||||
end
|
||||
|
||||
def options
|
||||
|
||||
@@ -13,6 +13,8 @@ class Pango < Formula
|
||||
if MacOS.leopard?
|
||||
depends_on 'fontconfig' # Leopard's fontconfig is too old.
|
||||
depends_on 'cairo' # Leopard doesn't come with Cairo.
|
||||
elsif MacOS.lion?
|
||||
depends_on 'cairo' # links against system Cairo without this
|
||||
end
|
||||
|
||||
def install
|
||||
|
||||
@@ -8,6 +8,13 @@ class Pixman < Formula
|
||||
depends_on 'pkg-config' => :build
|
||||
|
||||
def install
|
||||
if ENV.compiler == :llvm
|
||||
if MacOS.xcode_version == "4.1"
|
||||
ENV.clang
|
||||
else
|
||||
ENV.gcc_4_2
|
||||
end
|
||||
end
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
"--enable-gtk=no" # Don't need to build tests
|
||||
|
||||
Reference in new issue
Block a user