mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
osm2pgsql: use Formula[]
This commit is contained in:
1 parent
07cc9adf19
commit
c4afb35ae2
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user