From 0237068eeb559d03834ee80deb4e806429525332 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 13 Mar 2013 12:05:53 -0700 Subject: mapnik: fix broken compile against cairo/cairomm after #17032 Fixes https://github.com/mapnik/mapnik/issues/1753 Closes #18458. Signed-off-by: Adam Vandenberg --- Library/Formula/mapnik.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Library') 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' -- cgit v1.2.3