${EPREFIX} usually contains /, which makes the sed command fails. Use
, which is not commonly seen in paths.
python_get_sitedir returns with EPREFIX, while into command does not
require EPREFIX. Combining them to cause python_domodule to install
into double prefix.
Alternatively, $(clang -print-resource-dir) directly gives the absolute
path of clang resource directory. Normally best_version sys-devel/clang
should be the clang in PATH.
Fixes 2 issues for Gentoo prefix:
Alternatively, $(clang -print-resource-dir) directly gives the absolute path of clang resource directory. Normally best_version sys-devel/clang should be the clang in PATH.
Signed-off-by: Yiyang Wu xgreenlandforwyy@gmail.com