summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-08-30 03:01:02 +0100
committerSam James <sam@gentoo.org>2021-08-30 03:01:02 +0100
commit3d9ac4116142cf74cd8a37906d70a778bdd82569 (patch)
tree6b0e4d38c7d2cdaf1ff7c8e2879c02c87a759189 /sys-apps/groff
parentsys-auth/nss-mdns: Stabilize 0.15.1 ppc, #811051 (diff)
downloadgentoo-3d9ac4116142cf74cd8a37906d70a778bdd82569.tar.gz
gentoo-3d9ac4116142cf74cd8a37906d70a778bdd82569.tar.bz2
gentoo-3d9ac4116142cf74cd8a37906d70a778bdd82569.zip
sys-apps/groff: fix build failure on musl
Give configure a hint for now until a release of groff is made with updated gnulib upstream. Closes: https://bugs.gentoo.org/678026 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/groff')
-rw-r--r--sys-apps/groff/groff-1.22.4.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys-apps/groff/groff-1.22.4.ebuild b/sys-apps/groff/groff-1.22.4.ebuild
index 722ce444a7f..a8d2517a24c 100644
--- a/sys-apps/groff/groff-1.22.4.ebuild
+++ b/sys-apps/groff/groff-1.22.4.ebuild
@@ -62,6 +62,14 @@ src_prepare() {
}
src_configure() {
+ if use elibc_musl ; then
+ # This should be safe to drop in the release after 1.22.4
+ # gnulib was rather out of date and didn't include musl in its
+ # CHOST checks.
+ # bug #678026
+ export gl_cv_func_signbit_gcc=yes
+ fi
+
local myeconfargs=(
--with-appresdir="${EPREFIX}"/usr/share/X11/app-defaults
$(use_with uchardet)