[MacPorts] #25196: py26-matplotlib-basemap fails build when MacPorts installed in non-standard location

MacPorts noreply at macports.org
Wed Jun 9 22:41:15 PDT 2010


#25196: py26-matplotlib-basemap fails build when MacPorts installed in non-standard
location
---------------------------------------+------------------------------------
 Reporter:  shawn@…                    |       Owner:  macports-tickets@…                   
     Type:  defect                     |      Status:  new                                  
 Priority:  Normal                     |   Milestone:                                       
Component:  ports                      |     Version:  1.9.0                                
 Keywords:  basemap matplotlib python  |        Port:  py26-matplotlib-basemap              
---------------------------------------+------------------------------------
 py26-matplotlib-basemap does not build when installed in a non-standard
 location (i.e., other than in /opt/local). The reason for this is that, by
 default, the setup script for basemap only looks for the GEOS library in a
 predefined set of locations. This check occurs at build time and at
 install (destroot phase) time.

 However, this installation also looks for the GEOS_DIR environment
 variable when looking for the GEOS library.

 Attached is debug output showing the error (build_output.txt) and a patch
 to the Portfile, adding the environment variable GEOS_DIR (set to
 ${prefix}) in both the build and destroot phases.

-- 
Ticket URL: <http://trac.macports.org/ticket/25196>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list