spatialite-tools: use Formula[]
This commit is contained in:
parent
e357890c79
commit
e85f057582
1 changed files with 1 additions and 2 deletions
|
@ -6,7 +6,6 @@ class SpatialiteTools < Formula
|
|||
sha1 '0af3de926b8086287ef31ebba5d8327ee18d14bd'
|
||||
|
||||
depends_on 'pkg-config' => :build
|
||||
|
||||
depends_on 'libspatialite'
|
||||
depends_on 'readosm'
|
||||
|
||||
|
@ -14,7 +13,7 @@ class SpatialiteTools < Formula
|
|||
# See: https://github.com/Homebrew/homebrew/issues/3328
|
||||
ENV.append 'LDFLAGS', '-liconv'
|
||||
# Ensure Homebrew SQLite is found before system SQLite.
|
||||
sqlite = Formula.factory 'sqlite'
|
||||
sqlite = Formula["sqlite"]
|
||||
ENV.append 'LDFLAGS', "-L#{sqlite.opt_prefix}/lib"
|
||||
ENV.append 'CFLAGS', "-I#{sqlite.opt_prefix}/include"
|
||||
|
||||
|
|
Loading…
Reference in a new issue