aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorLance Hepler2012-03-27 14:49:54 -0700
committerJack Nagel2012-03-27 18:55:28 -0500
commit05af8f865718c4d4e1451be21a0b3f6bff921571 (patch)
tree087593ef369b4833ce08e5cdc59a45795024cbb5 /Library
parentc978e0f19ab84eddc8d31556b34b4608c0a7c1a0 (diff)
downloadhomebrew-05af8f865718c4d4e1451be21a0b3f6bff921571.tar.bz2
gmt: enable support for gdal by default
Closes #9790. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gmt.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/gmt.rb b/Library/Formula/gmt.rb
index 926cd9ebf..29a061280 100644
--- a/Library/Formula/gmt.rb
+++ b/Library/Formula/gmt.rb
@@ -11,13 +11,15 @@ class Gmt < Formula
url 'ftp://ftp.soest.hawaii.edu/gmt/gmt-4.5.7.tar.bz2'
md5 'fc8a4a546ff8572c225aa7bdb56bbdf8'
+ depends_on 'gdal'
depends_on 'netcdf'
def install
- ENV.j1 # Parallel builds don't work due to missing makefile dependencies
+ ENV.deparallelize # Parallel builds don't work due to missing makefile dependencies
system "./configure", "--prefix=#{prefix}",
"--datadir=#{share}/#{name}",
+ "--enable-gdal=#{HOMEBREW_PREFIX}",
"--enable-netcdf=#{HOMEBREW_PREFIX}",
"--enable-shared",
"--enable-triangle",