Opened 14 years ago
Last modified 14 years ago
#25346 closed defect
mapnik: mapnik.has_pycairo is False — at Initial Version
Reported by: | macfreek (Freek Dijkstra) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | haspatch | Cc: | |
Port: | py26-mapnik |
Description
The portfile of py26-mapnik contains a small bug.
I've installed mapnik with cairo support: port install py26-mapnik +cairo
This only partly works:
$ python
import mapnik mapnik.has_cairo()
True
mapnik.has_pycairo()
False
pycairo is Falso, because the headers for cairo were not found while installing mapnik:
$ port -v configure + py26-mapnik cairo [...] Checking for pycairo... no
Attsched is a fix for the Portfile, so that the cairo headers are correctly found.
Change History (1)
Changed 14 years ago by macfreek (Freek Dijkstra)
Attachment: | mapnik-cairo.patch added |
---|
Note: See
TracTickets for help on using
tickets.
Patch for py26-mapnik Portfile