aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libspatialite.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-26 19:05:01 -0800
committerAdam Vandenberg2014-02-27 08:21:22 -0800
commita6f69b442b6a33d32e815db5156eea7e22c5a1ef (patch)
treeacd8586e6b8d558899ef93e68d711c3963af4143 /Library/Formula/libspatialite.rb
parent7e7c0e20d5ef781cd904f2703566bf09d42728a7 (diff)
downloadhomebrew-a6f69b442b6a33d32e815db5156eea7e22c5a1ef.tar.bz2
libspatialte: use Formula[]
Diffstat (limited to 'Library/Formula/libspatialite.rb')
-rw-r--r--Library/Formula/libspatialite.rb4
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