I installed Gentoo through Gentoo::RAP (using gentoo-x86 tree) on some RedHat system. I wanted to install icc/mkl etc., but it seems the ebuilds are not made for Prefix installations. For example mkl-10.0.5.025-r1.ebuild contains: MKL_DIR=/opt/intel/${PN}/${PV} INTEL_LIC_DIR=/opt/intel/licenses Adding ${EPREFIX} should be rather straightforward I guess. But, there are more places where "/opt/intel" ins hardcoded in the ebuild. Still should be doable.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56846e03ed7c84387775b9ef6b99f8fdf65add10 commit 56846e03ed7c84387775b9ef6b99f8fdf65add10 Author: Aisha Tammy <gentoo@aisha.cc> AuthorDate: 2020-11-05 13:47:11 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2020-11-09 07:38:13 +0000 sci-libs/mkl: version bump to 2020.4.304 Use eselect-ldso mechanism. Respect Prefix. Closes: https://bugs.gentoo.org/587338 Closes: https://bugs.gentoo.org/592662 Closes: https://bugs.gentoo.org/747304 Closes: https://bugs.gentoo.org/260810 Closes: https://bugs.gentoo.org/715548 Closes: https://bugs.gentoo.org/719976 Reported-by: Juergen Rose, François Bissey, Florian D., Martin Mokrejš Reported-by: Michel Lang, juantxorena@gmail.com, Chris Larson, jorge Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy <gentoo@aisha.cc> Signed-off-by: Benda Xu <heroxbd@gentoo.org> sci-libs/mkl/Manifest | 1 + sci-libs/mkl/mkl-2020.4.304.ebuild | 230 +++++++++++++++++++++++++++++++++++++ 2 files changed, 231 insertions(+)