diff --git a/sci-libs/spqr/spqr-2.0.9-r4.ebuild b/sci-libs/spqr/spqr-2.0.9-r4.ebuild index 0e88a5cfea9f..f30766f0a1db 100644 --- a/sci-libs/spqr/spqr-2.0.9-r4.ebuild +++ b/sci-libs/spqr/spqr-2.0.9-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -30,6 +30,11 @@ RDEPEND="${DEPEND}" src_prepare() { default elibtoolize + + # Should be able to drop this workaround with newer versions. + # upstream fix it by replace \htmladdnormallink{...} with \url{} + sed -e '/^\\usepackage{hyperref}$/i \\\\usepackage{html}' \ + -i Doc/spqr_user_guide.tex || die } src_configure() {