Message 114715 - Python tracker
the problem this patch was solving is "python libraries install into "prefix/lib" regardless of what is the correct local LIBDIR" - which is obviously broken on systems where LIBDIR is something other than "prefix/lib", most notable example being "prefix/lib64" on current 64bit linuxes. but as far i can tell, this problem was fixed (to an extent) in 2.7 by partially applying this patch. SCRIPTDIR is still prefix/lib, but the correctness of that is up for a long and winded debate.