Tatsh / tatsh-overlay

Personal Gentoo Portage overlay.
https://tatsh.github.io/tatsh-overlay/
GNU General Public License v2.0
35 stars 10 forks source link

dev-util/ycmd: Prefix fixes + resource dir handling #258

Closed littlewu2508 closed 6 months ago

littlewu2508 commented 6 months ago

Fixes 2 issues for Gentoo prefix:

  1. ${EPREFIX} usually contains /, which makes the sed command fails. Use , which is not commonly seen in paths.
  2. 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.

Signed-off-by: Yiyang Wu xgreenlandforwyy@gmail.com

Tatsh commented 6 months ago

Thanks