sci-libs/spqr: fix doc build

\htmladdnormallink is in package html, so add it as a quick workaround,
upstream fix this problem by replace htmladdnormallink with \url

Closes: https://bugs.gentoo.org/929098
Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44616
Closes: https://github.com/gentoo/gentoo/pull/44616
Signed-off-by: Alexander Puck Neuwirth <apn-pucky@gentoo.org>
This commit is contained in:
Z. Liu 2025-11-13 19:04:41 +08:00 committed by Alexander Puck Neuwirth
parent 9927d482e1
commit 55255a9f6d
No known key found for this signature in database
GPG Key ID: ED7C252ACED415EF

View File

@ -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() {