Skip to content

Commit

Permalink
spatialite-tools: use Formula[]
Browse files Browse the repository at this point in the history
  • Loading branch information
adamv committed Feb 27, 2014
1 parent e357890 commit e85f057
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Formula/spatialite-tools.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ class SpatialiteTools < Formula
sha1 '0af3de926b8086287ef31ebba5d8327ee18d14bd'

depends_on 'pkg-config' => :build

depends_on 'libspatialite'
depends_on 'readosm'

def install
# 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"

Expand Down

0 comments on commit e85f057

Please sign in to comment.