aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/osm2pgsql.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-26 20:29:12 -0800
committerAdam Vandenberg2014-02-27 08:21:23 -0800
commitc4afb35ae2a8ada49830e71011b1391663229b25 (patch)
tree6011488c984b90aeae3c0ae34b5eaca67c6d7e89 /Library/Formula/osm2pgsql.rb
parent07cc9adf199d99aad44f4384dc15ea721dfc706f (diff)
downloadhomebrew-c4afb35ae2a8ada49830e71011b1391663229b25.tar.bz2
osm2pgsql: use Formula[]
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