mapnik: fix broken compile against cairo/cairomm after Homebrew/homebrew#17032
Fixes https://github.com/mapnik/mapnik/issues/1753 Closes Homebrew/homebrew#18458. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
05a64a3706
commit
956f06348e
1 changed files with 3 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue