diff options
author | Sam James <sam@gentoo.org> | 2022-04-29 02:42:11 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-30 20:13:32 +0100 |
commit | 81f5aea4dedb55fdc18723a93ee2ba5d39b3053b (patch) | |
tree | e5995bc6b60df0cda3227aa4ee40210ec45ed311 /x11-misc/cairo-clock | |
parent | metadata/install-qa-check.d: add new QA check for udev rules (diff) | |
download | gentoo-81f5aea4dedb55fdc18723a93ee2ba5d39b3053b.tar.gz gentoo-81f5aea4dedb55fdc18723a93ee2ba5d39b3053b.tar.bz2 gentoo-81f5aea4dedb55fdc18723a93ee2ba5d39b3053b.zip |
autotools.eclass: drop ROOT=/ in has_version call
Noticed when doing a read-through of the eclass (which is how I noticed
c8e74a7dfe477dea008548553141f083c5d03782 too).
Forcing ROOT=/ is, at best, going to confuse matters, and at worst,
do entirely the wrong thing. In EAPI 5 and 6, we had --host-root (which
we use in the eclass), and in EAPI 7+, we have -b/-d (which we use in
the eclass too). The ROOT= setting was there for pre-EAPI 5 times.
The aforementioned toggles (--host-root and then later on, -b/-d) are the
correct methods to specify (B)ROOT for has_version. Using one of those
with ROOT= have undefined behaviour, so drop it.
Bug: https://bugs.gentoo.org/312687
Thanks-to: James Le Cuirot <chewi@gentoo.org>
Thanks-to: Ulrich Müller <ulm@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc/cairo-clock')
0 files changed, 0 insertions, 0 deletions