summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Helmert III <ajak@gentoo.org>2022-12-31 13:01:31 -0600
committerJohn Helmert III <ajak@gentoo.org>2022-12-31 13:02:04 -0600
commite042f4f80bf76f220645e9f4d115f4bbdbea092d (patch)
treeaf74a2c92e33bd74b8f3a5f734227185caeacc77 /gui-libs
parentdev-ruby/gherkin: treeclean (diff)
downloadgentoo-e042f4f80bf76f220645e9f4d115f4bbdbea092d.tar.gz
gentoo-e042f4f80bf76f220645e9f4d115f4bbdbea092d.tar.bz2
gentoo-e042f4f80bf76f220645e9f4d115f4bbdbea092d.zip
gui-libs/greetd: fix installation with USE=debug
Closes: https://bugs.gentoo.org/889052 Signed-off-by: John Helmert III <ajak@gentoo.org>
Diffstat (limited to 'gui-libs')
-rw-r--r--gui-libs/greetd/greetd-0.8.0.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/gui-libs/greetd/greetd-0.8.0.ebuild b/gui-libs/greetd/greetd-0.8.0.ebuild
index 6ce509d028ae..3f805ab02280 100644
--- a/gui-libs/greetd/greetd-0.8.0.ebuild
+++ b/gui-libs/greetd/greetd-0.8.0.ebuild
@@ -88,7 +88,10 @@ src_compile() {
}
src_install() {
- dobin target/release/{agreety,fakegreet,greetd}
+ # if USE=debug, install binaries from the debug directory; else
+ # install binaries from the release directory
+ # https://bugs.gentoo.org/889052
+ dobin target/$(usex debug debug release)/{agreety,fakegreet,greetd}
insinto /etc/greetd
doins config.toml