Ticket #15226 (closed defect: fixed)
python25 PortGroup variables are incorrect
| Reported by: | xunil@… | Owned by: | jmr@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts 1.7.0 |
| Component: | base | Version: | 1.6.0 |
| Keywords: | Cc: | ||
| Port: |
Description
The python.include predefined variable is incorrect in the python25-1.0 PortGroup definition. It expands to:
${prefix}/include/python/2.5
But the correct location for python include files (at least, for 2.5) is:
${prefix}/include/python2.5
Additionally it seems that the PortGroup could use another predefined variable, perhaps called python.libdir (python.lib is already taken as the location of libpython2.5.dylib), which would expand to:
${prefix}/lib/python2.5
I'll attach a patch to the python25-1.0.tcl PortGroup definition.
Attachments
Change History
Changed 5 years ago by xunil@…
- Attachment patch-python25-1.0.tcl added
comment:1 Changed 5 years ago by jmr@…
- Cc jmr@… added
- Milestone changed from MacPorts base bugs to MacPorts 1.6.1
Need to get this into the next release. (Or #14553, which would enable updating portgroups independent of base releases.) The python24 and python30 portgroups also need this fix, except their variables need to point to the directories under ${prefix}/Library/Frameworks/Python.framework/Versions/.


Patch to python25 PortGroup definition, resolves incorrect setting for python.include; adds python.libdir