commit:     e0ef5a96ae6f35932bc05de954aaf58203fa07ac
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  5 14:01:36 2023 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Tue Dec  5 15:01:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0ef5a96

net-misc/s6-networking: add optfeature for man pages

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

 net-misc/s6-networking/s6-networking-2.7.0.0.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/net-misc/s6-networking/s6-networking-2.7.0.0.ebuild 
b/net-misc/s6-networking/s6-networking-2.7.0.0.ebuild
index 89c525c1c791..965843d3378d 100644
--- a/net-misc/s6-networking/s6-networking-2.7.0.0.ebuild
+++ b/net-misc/s6-networking/s6-networking-2.7.0.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit optfeature toolchain-funcs
 
 DESCRIPTION="Suite of small networking utilities for Unix systems"
 HOMEPAGE="https://www.skarnet.org/software/s6-networking/";
@@ -55,3 +55,7 @@ src_configure() {
 
        econf "${myconf[@]}"
 }
+
+pkg_postinst() {
+       optfeature "man pages" app-doc/s6-networking-man-pages
+}

Reply via email to