Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

littlewu2508
Copy link
Contributor

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 [email protected]

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 <[email protected]>
@Tatsh Tatsh merged commit ee9147d into Tatsh:master Jan 16, 2024
2 checks passed
@Tatsh
Copy link
Owner

Tatsh commented Jan 16, 2024

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants