From c4afb35ae2a8ada49830e71011b1391663229b25 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Wed, 26 Feb 2014 20:29:12 -0800 Subject: osm2pgsql: use Formula[] --- Library/Formula/osm2pgsql.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula/osm2pgsql.rb') 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 -- cgit v1.2.3