commit:     31c1a238c60eaa092cb674008c77d0644dde09e5
Author:     John Einar Reitan <john.einar <AT> gmail <DOT> com>
AuthorDate: Thu Sep 19 08:18:35 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jan 19 00:20:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31c1a238

sys-power/apcupsd: Remove dependency on col command

Closes: https://bugs.gentoo.org/937496

Signed-off-by: John Einar Reitan <john.einar <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38681
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild 
b/sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild
index 2f2835921c9c..ba2ab5506de5 100644
--- a/sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild
+++ b/sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild
@@ -45,6 +45,13 @@ pkg_setup() {
        fi
 }
 
+src_prepare() {
+       default
+       # skip this specific doc step as produced files never installed
+       # this avoids calling the col command not available on musl based 
system.
+       sed -i "/^SUBDIRS/ s/doc//g" Makefile || die
+}
+
 src_configure() {
        local myconf
 

Reply via email to