diff options
| author | Jack Nagel | 2012-06-06 20:35:12 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-07-01 12:41:00 -0500 |
| commit | a2d4d9d832e60e2b007990f394b22e77b6dfa3ba (patch) | |
| tree | 61d17f0eb86471a00b2bf117d13f067f73e372b8 /Library/Formula/scantailor.rb | |
| parent | 06c2ea036322bd1d05330711aa41273cddc77ede (diff) | |
| download | homebrew-a2d4d9d832e60e2b007990f394b22e77b6dfa3ba.tar.bz2 | |
Update formulae for XQuartz compatibility
Diffstat (limited to 'Library/Formula/scantailor.rb')
| -rw-r--r-- | Library/Formula/scantailor.rb | 3 |
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 |
