aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/osm2pgsql.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/osm2pgsql.rb')
-rw-r--r--Library/Formula/osm2pgsql.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/osm2pgsql.rb b/Library/Formula/osm2pgsql.rb
index b1e59e88c..3660c2794 100644
--- a/Library/Formula/osm2pgsql.rb
+++ b/Library/Formula/osm2pgsql.rb
@@ -14,9 +14,9 @@ class Osm2pgsql < Formula
depends_on "protobuf-c" => :optional
def install
- args = ["--with-proj=#{Formula.factory('proj').opt_prefix}"]
+ args = ["--with-proj=#{Formula["proj"].opt_prefix}"]
if build.with? "protobuf-c"
- args << "--with-protobuf-c=#{Formula.factory('protobuf-c').opt_prefix}"
+ args << "--with-protobuf-c=#{Formula["protobuf-c"].opt_prefix}"
end
system "./autogen.sh"
system "./configure", *args