osm2pgsql: add missing dependencies.

master
Christoph Bünte 2014-06-04 14:44:26 +02:00 committed by Mike McQuaid
parent 3adf825fa4
commit 03ba9fa531
1 changed files with 5 additions and 1 deletions

View File

@ -14,7 +14,11 @@ class Osm2pgsql < Formula
depends_on "protobuf-c" => :optional
def install
args = ["--with-proj=#{Formula["proj"].opt_prefix}"]
args = [
"--with-proj=#{Formula["proj"].opt_prefix}",
"--with-zlib=/usr",
"--with-bzip2=/usr"
]
if build.with? "protobuf-c"
args << "--with-protobuf-c=#{Formula["protobuf-c"].opt_prefix}"
end