Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/awesome/
Date: Tue, 23 Feb 2021 09:32:25
Message-Id: 1614072733.744e338ebea45f79dceaa066d6f1a8f8861030dd.marecki@gentoo
1 commit: 744e338ebea45f79dceaa066d6f1a8f8861030dd
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 23 09:30:24 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 23 09:32:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=744e338e
7
8 x11-wm/awesome-9999: override return values of 'usex dbus' again
9
10 ...this time with a comment so that it is clear that this is intentional
11 rather than sloppy ebuild writing.
12
13 Closes: https://bugs.gentoo.org/771018
14 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
15
16 x11-wm/awesome/awesome-9999.ebuild | 7 +++++--
17 1 file changed, 5 insertions(+), 2 deletions(-)
18
19 diff --git a/x11-wm/awesome/awesome-9999.ebuild b/x11-wm/awesome/awesome-9999.ebuild
20 index 1c3583824ab..e8a8a5130ca 100644
21 --- a/x11-wm/awesome/awesome-9999.ebuild
22 +++ b/x11-wm/awesome/awesome-9999.ebuild
23 @@ -76,11 +76,14 @@ PATCHES=(
24 )
25
26 src_configure() {
27 - # Compression of manpages is handled by portage
28 + # Compression of manpages is handled by portage.
29 + # WITH_DBUS uses AutoOption.cmake which currently does not
30 + # understand yes/no (or indeed any values other than ON, OFF
31 + # or AUTO).
32 local mycmakeargs=(
33 -DSYSCONFDIR="${EPREFIX}"/etc
34 -DCOMPRESS_MANPAGES=OFF
35 - -DWITH_DBUS=$(usex dbus)
36 + -DWITH_DBUS=$(usex dbus ON OFF)
37 -DGENERATE_DOC=$(usex doc)
38 -DAWESOME_DOC_PATH="${EPREFIX}"/usr/share/doc/${PF}
39 -DLUA_INCLUDE_DIR="$(lua_get_include_dir)"