mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
python-utils-r1.eclass: Fix python_doheader install location with ROOT
python_get_includedir is prefixed with ESYSROOT, not EPREFIX, so we need to strip off the former, not the latter. This is currently only used for dev-python/pillow, which I have tested. Signed-off-by: James Le Cuirot <chewi@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
committed by
Michał Górny
parent
4c1a6b8246
commit
035330c424
@@ -884,7 +884,7 @@ python_doheader() {
|
||||
[[ ${EPYTHON} ]] || die 'No Python implementation set (EPYTHON is null).'
|
||||
|
||||
local includedir=$(python_get_includedir)
|
||||
local d=${includedir#${EPREFIX}}
|
||||
local d=${includedir#${ESYSROOT}}
|
||||
|
||||
(
|
||||
insopts -m 0644
|
||||
|
||||
Reference in New Issue
Block a user