Python34 include directory problems
Michael Dickens
michaelld at macports.org
Mon Jul 6 10:19:30 PDT 2015
Even something as minimal as making the default checked directory on
python34 end with "m" works for me; it's probably not the ideal
solution, but it's better than what we have right now. - MLD
{{{
Index: _resources/port1.0/group/python-1.0.tcl
===================================================================
--- _resources/port1.0/group/python-1.0.tcl (revision 138364)
+++ _resources/port1.0/group/python-1.0.tcl (working copy)
@@ -229,7 +229,11 @@
}
}
include {
- set inc_dir
"${python.prefix}/include/python${python.branch}"
+ if {${python.version} < 30} {
+ set inc_dir
"${python.prefix}/include/python${python.branch}"
+ } else {
+ set inc_dir
"${python.prefix}/include/python${python.branch}m"
+ }
if {[file exists ${inc_dir}]} {
return ${inc_dir}
} else {
}}}
More information about the macports-dev
mailing list