diff options
| author | Adam Vandenberg | 2014-02-26 19:05:01 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-27 08:21:22 -0800 |
| commit | a6f69b442b6a33d32e815db5156eea7e22c5a1ef (patch) | |
| tree | acd8586e6b8d558899ef93e68d711c3963af4143 /Library | |
| parent | 7e7c0e20d5ef781cd904f2703566bf09d42728a7 (diff) | |
| download | homebrew-a6f69b442b6a33d32e815db5156eea7e22c5a1ef.tar.bz2 | |
libspatialte: use Formula[]
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libspatialite.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/libspatialite.rb b/Library/Formula/libspatialite.rb index c89e466ab..eef5b1492 100644 --- a/Library/Formula/libspatialite.rb +++ b/Library/Formula/libspatialite.rb @@ -38,12 +38,12 @@ class Libspatialite < Formula end # Ensure Homebrew's libsqlite is found before the system version. - sqlite = Formula.factory 'sqlite' + sqlite = Formula["sqlite"] ENV.append 'LDFLAGS', "-L#{sqlite.opt_prefix}/lib" ENV.append 'CFLAGS', "-I#{sqlite.opt_prefix}/include" unless build.without? 'liblwgeom' - lwgeom = Formula.factory 'liblwgeom' + lwgeom = Formula["liblwgeom"] ENV.append 'LDFLAGS', "-L#{lwgeom.opt_prefix}/lib" ENV.append 'CFLAGS', "-I#{lwgeom.opt_prefix}/include" end |
