aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libtiff.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/Library/Formula/libtiff.rb b/Library/Formula/libtiff.rb
index 38a7f8edb..f0a6a7fb3 100644
--- a/Library/Formula/libtiff.rb
+++ b/Library/Formula/libtiff.rb
@@ -2,19 +2,18 @@ require 'formula'
class Libtiff < Formula
homepage 'http://www.remotesensing.org/libtiff/'
- url 'http://download.osgeo.org/libtiff/tiff-3.9.5.zip'
- sha256 '332d1a658340c41791fce62fb8fff2a5ba04c2e82b8b85e741eb0a7b30e0d127'
+ url 'http://download.osgeo.org/libtiff/tiff-4.0.1.tar.gz'
+ sha256 '9a7a039e516c37478038740f1642818250bfb1414cf404cc8b569e5f9d4bf2f0'
def options
[["--universal", "Builds a universal binary"]]
end
def install
+ ENV.x11 # Needed to pick up GL/gL.h, otherwise compile error.
ENV.universal_binary if ARGV.build_universal?
system "./configure", "--disable-dependency-tracking",
- "--prefix=#{prefix}",
- "--mandir=#{man}",
- "--with-apple-opengl-framework"
+ "--prefix=#{prefix}"
system "make install"
end
end