summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Einar Reitan <john.einar@gmail.com>2024-09-19 10:18:35 +0200
committerConrad Kostecki <conikost@gentoo.org>2025-01-19 01:20:18 +0100
commit31c1a238c60eaa092cb674008c77d0644dde09e5 (patch)
treedbf7c9e5285df73b5ee2e55cc20b247f98278766 /sys-power
parentdev-vcs/git: Stabilize 2.45.3 arm64, #948375 (diff)
downloadgentoo-31c1a238c60eaa092cb674008c77d0644dde09e5.tar.gz
gentoo-31c1a238c60eaa092cb674008c77d0644dde09e5.tar.bz2
gentoo-31c1a238c60eaa092cb674008c77d0644dde09e5.zip
sys-power/apcupsd: Remove dependency on col command
Closes: https://bugs.gentoo.org/937496 Signed-off-by: John Einar Reitan <john.einar@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/38681 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild7
1 files changed, 7 insertions, 0 deletions
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