Summary: | dev-lang/php: replace EPREFIX in econf args with EROOT | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Orlitzky <mjo> |
Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | floppym, hydrapolic |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michael Orlitzky
2017-12-10 21:58:56 UTC
ROOT and EROOT have undefined values in src_* functions. They should be used in pkg_* functions only. (In reply to Mike Gilbert from comment #1) > ROOT and EROOT have undefined values in src_* functions. They should be used > in pkg_* functions only. So much for that idea then. The user left IRC before I could respond, but I guess he's using ROOT to try to install a separate system in some other directory. Setting ROOT specifies where the built packages get installed, and I presume he wants to build PHP against the things in his new ROOT, and not against the things in "/". Is there a better way to do that (so that I can tell people what to do in the future)? Or something else we should be doing in the ebuild? I'd still like to know if there's a good solution for what he was trying to do, but I'm going to close this as (now) obviously not the right way. (In reply to Michael Orlitzky from comment #3) > I'd still like to know if there's a good solution for what he was trying to > do, but I'm going to close this as (now) obviously not the right way. I don't think there is a "good" solution, but I have seen the "SYSROOT" variable used in cross-compile chroot environments. I think this is a candidate for some future EAPI as well. See bug 317337. |