This is a split from bug 474358 to get Prefix supported in toolchain.eclass. The Prefix patch found in bug 474358 is rebased to the toolchain.eclass in tree. Reproducible: Always
Created attachment 390896 [details, diff] toolchain.patch This patch has 4 main modifications to the eclass, * Define ED and EROOT for EAPI 0, 1 and 2. * Add ${EPREFIX} to ${PREFIX} and quote the variables. * Strip ${EPREFIX} if used with a ebuild helper. * call fix_libtool_files.sh by name, because /usr/sbin is in PATH, and to eliminate the need to write it ${EPREFIX}/usr/sbin/fix_libtool_files.sh Thanks, Benda
Ping toolchain team.
*** Bug 583432 has been marked as a duplicate of this bug. ***
Created attachment 459056 [details, diff] toolchain.patch two years has passed and no objections were raised. I am going to commit this patch in 3 days after circulation the patch in the dev mailing list.
Please divide this patch into separate patches, one for each type of change. E.g. changes of quoting or ${D}/${DATAPATH} -> ${D}${DATAPATH} are prefix-unrelated.
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #5) > Please divide this patch into separate patches, one for each type of change. > E.g. changes of quoting or ${D}/${DATAPATH} -> ${D}${DATAPATH} are > prefix-unrelated. Thanks. Please refer to https://archives.gentoo.org/gentoo-dev/message/8a7ac352cb047567309c70aaf7105305 Just committed in tree.