aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/scantailor.rb
diff options
context:
space:
mode:
authorJack Nagel2012-06-06 20:35:12 -0500
committerJack Nagel2012-07-01 12:41:00 -0500
commita2d4d9d832e60e2b007990f394b22e77b6dfa3ba (patch)
tree61d17f0eb86471a00b2bf117d13f067f73e372b8 /Library/Formula/scantailor.rb
parent06c2ea036322bd1d05330711aa41273cddc77ede (diff)
downloadhomebrew-a2d4d9d832e60e2b007990f394b22e77b6dfa3ba.tar.bz2
Update formulae for XQuartz compatibility
Diffstat (limited to 'Library/Formula/scantailor.rb')
-rw-r--r--Library/Formula/scantailor.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/scantailor.rb b/Library/Formula/scantailor.rb
index 8cc61f266..b1646c930 100644
--- a/Library/Formula/scantailor.rb
+++ b/Library/Formula/scantailor.rb
@@ -16,6 +16,7 @@ class Scantailor < Formula
depends_on 'boost'
depends_on 'jpeg'
depends_on 'libtiff'
+ depends_on :x11
fails_with :clang do
build 318
@@ -23,7 +24,7 @@ class Scantailor < Formula
end
def install
- system "cmake", ".", "-DPNG_INCLUDE_DIR=/usr/X11/include", *std_cmake_args
+ system "cmake", ".", "-DPNG_INCLUDE_DIR=#{MacOS.x11_prefix}/include", *std_cmake_args
system "make install"
end
end