commit:     3e3b2907973f5f000d9f8b29bf9865a5511382b1
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  5 13:49:18 2023 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Tue Dec  5 15:01:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e3b2907

sys-apps/s6-portable-utils: add optfeature for man pages

Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 sys-apps/s6-portable-utils/s6-portable-utils-2.3.0.3.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sys-apps/s6-portable-utils/s6-portable-utils-2.3.0.3.ebuild 
b/sys-apps/s6-portable-utils/s6-portable-utils-2.3.0.3.ebuild
index e476efbe496e..a5a3fc10c8b3 100644
--- a/sys-apps/s6-portable-utils/s6-portable-utils-2.3.0.3.ebuild
+++ b/sys-apps/s6-portable-utils/s6-portable-utils-2.3.0.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit optfeature toolchain-funcs
 
 DESCRIPTION="Set of tiny portable unix utilities"
 HOMEPAGE="https://www.skarnet.org/software/s6-portable-utils/";
@@ -44,3 +44,7 @@ src_configure() {
 
        econf "${myconf[@]}"
 }
+
+pkg_postinst() {
+       optfeature "man pages" app-doc/s6-portable-utils-man-pages
+}

Reply via email to