Summary: | toolchain.eclass: Prefix support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Benda Xu <heroxbd> |
Component: | Eclasses | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | arfrever.fta, michael, prefix |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://archives.gentoo.org/gentoo-dev/message/8a7ac352cb047567309c70aaf7105305 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 315803, 474358, 519080 | ||
Attachments: |
toolchain.patch
toolchain.patch |
Description
Benda Xu
2014-12-04 02:15:22 UTC
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. |