diff options
| author | Jack Nagel | 2013-04-30 00:29:42 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-04-30 00:29:42 -0500 |
| commit | 9b585edf3e6af28d65a4c661a253b2d5832e261a (patch) | |
| tree | f563a4e56cee1094e664ef363aa1955abc6127f8 /Library | |
| parent | e9ae198f100678a8adda749dfc34e459458e0f37 (diff) | |
| download | homebrew-9b585edf3e6af28d65a4c661a253b2d5832e261a.tar.bz2 | |
postgis: inline variable
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/postgis.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/postgis.rb b/Library/Formula/postgis.rb index b938bbed0..d6b7eba48 100644 --- a/Library/Formula/postgis.rb +++ b/Library/Formula/postgis.rb @@ -35,14 +35,13 @@ class Postgis < Formula def install ENV.deparallelize - jsonc = Formula.factory 'json-c' args = [ "--disable-dependency-tracking", # Can't use --prefix, PostGIS disrespects it and flat-out refuses to # accept it with 2.0. "--with-projdir=#{HOMEBREW_PREFIX}", - "--with-jsondir=#{jsonc.linked_keg.realpath}", + "--with-jsondir=#{Formula.factory('json-c').opt_prefix}", # This is against Homebrew guidelines, but we have to do it as the # PostGIS plugin libraries can only be properly inserted into Homebrew's # Postgresql keg. |
