diff options
| author | Adam Vandenberg | 2014-02-26 20:29:12 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-27 08:21:23 -0800 |
| commit | c4afb35ae2a8ada49830e71011b1391663229b25 (patch) | |
| tree | 6011488c984b90aeae3c0ae34b5eaca67c6d7e89 /Library | |
| parent | 07cc9adf199d99aad44f4384dc15ea721dfc706f (diff) | |
| download | homebrew-c4afb35ae2a8ada49830e71011b1391663229b25.tar.bz2 | |
osm2pgsql: use Formula[]
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/osm2pgsql.rb | 4 |
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 |
