x11-wm/i3-gaps: Install documentation
authorJohannes Huber <johu@gentoo.org>
Sat, 22 Jun 2019 11:02:31 +0000 (13:02 +0200)
committerJohannes Huber <johu@gentoo.org>
Sat, 22 Jun 2019 11:02:56 +0000 (13:02 +0200)
Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: Johannes Huber <johu@gentoo.org>
x11-wm/i3-gaps/i3-gaps-4.16.1-r1.ebuild

index 2d8654ca3aa79e7be69a24f1d6d62f7717cb3dd4..0f5113ed0c6ae7b7af0d477d3907f1ca7758e901 100644 (file)
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/Airblader/i3/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="doc"
 
 DEPEND="
        dev-libs/glib:2
@@ -61,9 +61,9 @@ src_prepare() {
 my_src_configure() {
        # disable sanitizer: otherwise injects -O0 -g
        local myeconfargs=(
+               $(use_enable doc docs)
                --enable-debug=no
                --enable-mans
-               --disable-docs
                --disable-sanitizers
        )
        econf "${myeconfargs[@]}"