1 |
commit: e042f4f80bf76f220645e9f4d115f4bbdbea092d |
2 |
Author: John Helmert III <ajak <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 31 19:01:31 2022 +0000 |
4 |
Commit: John Helmert III <ajak <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 31 19:02:04 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e042f4f8 |
7 |
|
8 |
gui-libs/greetd: fix installation with USE=debug |
9 |
|
10 |
Closes: https://bugs.gentoo.org/889052 |
11 |
Signed-off-by: John Helmert III <ajak <AT> gentoo.org> |
12 |
|
13 |
gui-libs/greetd/greetd-0.8.0.ebuild | 5 ++++- |
14 |
1 file changed, 4 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/gui-libs/greetd/greetd-0.8.0.ebuild b/gui-libs/greetd/greetd-0.8.0.ebuild |
17 |
index 6ce509d028ae..3f805ab02280 100644 |
18 |
--- a/gui-libs/greetd/greetd-0.8.0.ebuild |
19 |
+++ b/gui-libs/greetd/greetd-0.8.0.ebuild |
20 |
@@ -88,7 +88,10 @@ src_compile() { |
21 |
} |
22 |
|
23 |
src_install() { |
24 |
- dobin target/release/{agreety,fakegreet,greetd} |
25 |
+ # if USE=debug, install binaries from the debug directory; else |
26 |
+ # install binaries from the release directory |
27 |
+ # https://bugs.gentoo.org/889052 |
28 |
+ dobin target/$(usex debug debug release)/{agreety,fakegreet,greetd} |
29 |
|
30 |
insinto /etc/greetd |
31 |
doins config.toml |