aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ode.rb
diff options
context:
space:
mode:
authorMax Howell2012-02-28 15:39:22 +0000
committerMax Howell2012-02-28 15:40:59 +0000
commit1eea2327405c9e00b11130955b84aa6c26042c78 (patch)
treef49ac7bdabdb3b634b55c2c4b1a0ad290e981d77 /Library/Formula/ode.rb
parent753dde9c2cf66848183f3f787f8501dbf5a7e28f (diff)
downloadhomebrew-1eea2327405c9e00b11130955b84aa6c26042c78.tar.bz2
These now depend on automake for Xcode >= 4.3
Fixes #10559. Also added missing deps for osm2pgsql. Removed some ACLOCAL_FLAGS stuff as in theory this is not set in ENV.rb. Would like to see if it causes trouble. Should just work now.
Diffstat (limited to 'Library/Formula/ode.rb')
-rw-r--r--Library/Formula/ode.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/Library/Formula/ode.rb b/Library/Formula/ode.rb
index 75647082e..48e0c9cc4 100644
--- a/Library/Formula/ode.rb
+++ b/Library/Formula/ode.rb
@@ -7,10 +7,15 @@ class Ode < Formula
homepage 'http://www.ode.org/'
head 'http://opende.svn.sourceforge.net/svnroot/opende/trunk'
+ if MacOS.xcode_version >= "4.3"
+ # find a proper tarball with configure and remove autogen and these deps
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
+ end
+
def install
ENV.j1
- # only necessary when downloading from svn
- system "sh autogen.sh" unless File.exist? "configure"
+ system "sh autogen.sh"
system "./configure", "--prefix=#{prefix}", "--disable-demos"
system "make"
system "make install"