commit:     46fc5d00d4ddd26bcc2cd18e8ee24a6b9b42805c
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  5 13:38:08 2023 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Tue Dec  5 15:01:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46fc5d00

dev-lang/execline: add optfeature for man pages

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

 dev-lang/execline/execline-2.9.4.0.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-lang/execline/execline-2.9.4.0.ebuild 
b/dev-lang/execline/execline-2.9.4.0.ebuild
index c0c8049ec42c..eeab7d3e14c1 100644
--- a/dev-lang/execline/execline-2.9.4.0.ebuild
+++ b/dev-lang/execline/execline-2.9.4.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit optfeature toolchain-funcs
 
 DESCRIPTION="A non-interactive scripting language"
 HOMEPAGE="https://www.skarnet.org/software/execline/";
@@ -45,3 +45,7 @@ src_configure() {
 
        econf "${myconf[@]}"
 }
+
+pkg_postinst() {
+       optfeature "man pages" app-doc/execline-man-pages
+}

Reply via email to