aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMax Howell2009-12-05 16:17:58 +0000
committerMax Howell2009-12-05 16:17:58 +0000
commit183e355f083bbd69ffb0ae6656f49dc164ca9d93 (patch)
tree0c6632af7489493cb82baf380a0613484fc7b069 /Library/Formula
parent39a7b061bd2e5c89c6a152857c308fb1f6ef50b3 (diff)
downloadhomebrew-183e355f083bbd69ffb0ae6656f49dc164ca9d93.tar.bz2
Use OS X provided libpng
And remove some unecessary configure flags.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gdal.rb11
1 files changed, 1 insertions, 10 deletions
diff --git a/Library/Formula/gdal.rb b/Library/Formula/gdal.rb
index e35b33502..b7f9d2c63 100644
--- a/Library/Formula/gdal.rb
+++ b/Library/Formula/gdal.rb
@@ -6,7 +6,6 @@ class Gdal <Formula
md5 'a8aade344a29ae4a92a0f17cc33f561a'
depends_on 'libtiff'
- depends_on 'libpng'
depends_on 'giflib'
depends_on 'proj'
depends_on 'geos'
@@ -15,16 +14,9 @@ class Gdal <Formula
system "./configure", "--prefix=#{prefix}",
"--disable-debug",
"--disable-dependency-tracking",
- "--mandir=#{prefix}/share/man",
"--with-pthreads",
"--with-local=#{prefix}",
- "--with-libz=#{prefix}",
- #"--with-png=#{prefix}",
- "--with-libtiff=#{prefix}",
- #"--with-geotiff=#{prefix}",
- "--with-jpeg=#{prefix}",
- "--with-gif=#{prefix}",
- "--with-static-proj4=#{prefix}",
+ "--with-png=/usr/X11",
"--without-pg",
"--without-grass",
"--without-libgrass",
@@ -64,7 +56,6 @@ class Gdal <Formula
#"--without-python",
"--without-ogpython",
"--without-xerces"
-
system "make"
system "make install"
end