This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author peko
Recipients peko
Date 2014-11-20.13:00:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1416488452.97.0.575494016591.issue22907@psf.upfronthosting.co.za>
In-reply-to
Content
The build/real prefix handling using sed breaks if build != real and the
standard include / lib directories are used ($prefix/include and $prefix/lib).

E.G.

prefix_build="/usr", libdir="$prefix/lib", includedir="$prefix/include".

If this gets installed with make DESTDIR="/foo" install, then we end up with prefix_real = prefix = "/foo/usr" as expected, but
includedir="/foo/foo/usr/include" and libdir="/foo/foo/usr/lib" because of the double sed invocation (prefix is already expanded).  Work around it by ensuring we only match the beginning of the string.
History
Date User Action Args
2014-11-20 13:00:53pekosetrecipients: + peko
2014-11-20 13:00:52pekosetmessageid: <1416488452.97.0.575494016591.issue22907@psf.upfronthosting.co.za>
2014-11-20 13:00:52pekolinkissue22907 messages
2014-11-20 13:00:52pekocreate