Opened 14 years ago
Closed 14 years ago
#25196 closed defect (fixed)
py26-matplotlib-basemap fails build when MacPorts installed in non-standard location
Reported by: | shawn@… | Owned by: | skymoo (Adam Mercer) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.0 |
Keywords: | Cc: | ||
Port: | py26-matplotlib-basemap |
Description
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.
Attachments (2)
Change History (6)
Changed 14 years ago by shawn@…
Attachment: | build_output.txt added |
---|
Changed 14 years ago by shawn@…
Attachment: | Portfile.patch added |
---|
Patch to the py26-matplotlib-basemap Portfile.
comment:2 Changed 14 years ago by mf2k (Frank Schima)
Cc: | ram shawn@… removed |
---|---|
Keywords: | basemap matplotlib python removed |
Owner: | changed from macports-tickets@… to ram@… |
Full email addresses must be used in Trac.
comment:3 Changed 14 years ago by skymoo (Adam Mercer)
Status: | new → assigned |
---|
comment:4 Changed 14 years ago by skymoo (Adam Mercer)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
fixed in r68690, thanks
Debug output from port install command.