aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-01-28 00:13:49 -0600
committerJack Nagel2014-01-28 00:17:25 -0600
commit880d473e3b481c80ddd0bc5cacf5261c8c627dd3 (patch)
treeda691620150af55eefaa919650fb07bb37ae6d04 /Library/Formula
parent6896f9d1789715305877a976c50781b967b6ef66 (diff)
downloadhomebrew-880d473e3b481c80ddd0bc5cacf5261c8c627dd3.tar.bz2
pdf2svg: make sure cairo is installed before poppler
pdf2svg has: depends_on 'poppler' => 'with-glib' poppler has: depends_on 'glib' => :optional depends_on 'cairo' if build.with? 'glib' A clean "brew install pdf2svg" will fail due to the language-level conditional used to define the cairo dependency. Since we don't yet have a way to express this in the DSL, this patch will have to do for now. Fixes #26205, kinda.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pdf2svg.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/pdf2svg.rb b/Library/Formula/pdf2svg.rb
index 0bbadf305..8e24471f9 100644
--- a/Library/Formula/pdf2svg.rb
+++ b/Library/Formula/pdf2svg.rb
@@ -8,9 +8,9 @@ class Pdf2svg < Formula
depends_on "pkg-config" => :build
depends_on :x11
+ depends_on "cairo"
depends_on "poppler" => "with-glib"
depends_on "gtk+"
- depends_on "cairo"
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",