aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mapnik.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2014-03-05 21:28:31 -0800
committerAdam Vandenberg2014-03-07 07:08:52 -0800
commitb0ae186a3dde2c47f1742b9125941792b46f42fd (patch)
tree82fca9a30afd99916b0d03b4bd61d521bb52ea7a /Library/Formula/mapnik.rb
parent4f3188bcef0dd96f9b010d199d903b02ed929295 (diff)
downloadhomebrew-b0ae186a3dde2c47f1742b9125941792b46f42fd.tar.bz2
use opt shortcuts
Diffstat (limited to 'Library/Formula/mapnik.rb')
-rw-r--r--Library/Formula/mapnik.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/mapnik.rb b/Library/Formula/mapnik.rb
index f6039d934..0ff0648df 100644
--- a/Library/Formula/mapnik.rb
+++ b/Library/Formula/mapnik.rb
@@ -65,8 +65,8 @@ class Mapnik < Formula
else
args << "CAIRO=False"
end
- args << "GDAL_CONFIG=#{Formula["gdal"].opt_prefix}/bin/gdal-config" if build.with? 'gdal'
- args << "PG_CONFIG=#{Formula["postgresql"].opt_prefix}/bin/pg_config" if build.with? 'postgresql'
+ args << "GDAL_CONFIG=#{Formula["gdal"].opt_bin}/gdal-config" if build.with? 'gdal'
+ args << "PG_CONFIG=#{Formula["postgresql"].opt_bin}/pg_config" if build.with? 'postgresql'
system "python", "scons/scons.py", "configure", *args
system "python", "scons/scons.py", "install"