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/libharu.rb | |
| parent | 06c2ea036322bd1d05330711aa41273cddc77ede (diff) | |
| download | homebrew-a2d4d9d832e60e2b007990f394b22e77b6dfa3ba.tar.bz2 | |
Update formulae for XQuartz compatibility
Diffstat (limited to 'Library/Formula/libharu.rb')
| -rw-r--r-- | Library/Formula/libharu.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Library/Formula/libharu.rb b/Library/Formula/libharu.rb index 5b6440dbc..e18f491b1 100644 --- a/Library/Formula/libharu.rb +++ b/Library/Formula/libharu.rb @@ -5,6 +5,8 @@ class Libharu < Formula url 'http://libharu.org/files/libharu-2.2.1.tar.bz2' md5 '4febd7e677b1c5d54db59a608b84e79f' + depends_on :libpng + def patches # Fixes compilation against LibPNG 1.5. Can be removed on next release. # Based on a commit in the LibHaru repository which does not apply cleanly @@ -15,10 +17,11 @@ class Libharu < Formula end def install - system "./configure", "--disable-debug", "--disable-dependency-tracking", + system "./configure", "--disable-debug", + "--disable-dependency-tracking", "--prefix=#{prefix}", - # ENV.x11 doesn't get picked up - "--with-png=/usr/X11" + # libpng doesn't get picked up + "--with-png=#{MacOS.x11_prefix}" system "make install" end end |
