aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mapnik.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/mapnik.rb b/Library/Formula/mapnik.rb
index 303378767..5d88c72a4 100644
--- a/Library/Formula/mapnik.rb
+++ b/Library/Formula/mapnik.rb
@@ -64,8 +64,9 @@ class Mapnik < Formula
"PROJ_LIBS=#{proj}/lib" ]
if build.with? 'cairo'
- args << "CAIRO_INCLUDES=#{cairo}/include"
- args << "CAIRO_LIBS=#{cairo}/lib"
+ args << "CAIRO=True" # cairo paths will come from pkg-config
+ else
+ args << "CAIRO=False"
end
args << "GEOS_CONFIG=#{Formula.factory('geos').opt_prefix}/bin/geos-config" if build.with? 'geos'
args << "GDAL_CONFIG=#{Formula.factory('gdal').opt_prefix}/bin/gdal-config" if build.with? 'gdal'