commit:     275a352e4a5b7a55a2a783cb2568759ed67dcc68
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  5 13:44:43 2023 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Tue Dec  5 15:01:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=275a352e

sys-apps/s6: add optfeature for man pages

Bug: https://bugs.gentoo.org/824022
Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

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

diff --git a/sys-apps/s6/s6-2.12.0.2.ebuild b/sys-apps/s6/s6-2.12.0.2.ebuild
index 8ac261aaceea..2512f211e17b 100644
--- a/sys-apps/s6/s6-2.12.0.2.ebuild
+++ b/sys-apps/s6/s6-2.12.0.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit optfeature toolchain-funcs
 
 DESCRIPTION="skarnet.org's small and secure supervision software suite"
 HOMEPAGE="https://www.skarnet.org/software/s6/";
@@ -52,3 +52,7 @@ src_configure() {
 
        econf "${myconf[@]}"
 }
+
+pkg_postinst() {
+       optfeature "man pages" app-doc/s6-man-pages
+}

Reply via email to