summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-texlive/texlive-humanities/texlive-humanities-2023_p68465.ebuild')
-rw-r--r--dev-texlive/texlive-humanities/texlive-humanities-2023_p68465.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-texlive/texlive-humanities/texlive-humanities-2023_p68465.ebuild b/dev-texlive/texlive-humanities/texlive-humanities-2023_p68465.ebuild
index 34caf32..065f60b 100644
--- a/dev-texlive/texlive-humanities/texlive-humanities-2023_p68465.ebuild
+++ b/dev-texlive/texlive-humanities/texlive-humanities-2023_p68465.ebuild
@@ -164,6 +164,9 @@ RDEPEND="
DEPEND="
${COMMON_DEPEND}
"
+BDEPEND="
+ doc? ( virtual/pkgconfig )
+"
TEXLIVE_MODULE_BINSCRIPTS="
texmf-dist/scripts/diadia/diadia.lua
@@ -173,10 +176,14 @@ src_prepare() {
default
if use doc; then
+ pushd texmf-dist/doc/luatex/opbible &> /dev/null || die
+
# https://github.com/olsak/OpBible/pull/1
eapply "${FILESDIR}"/${PN}-2023-opbible-improve-Makefile-respect-user-flags.patch
# Remove the binary, so that it is rebuild.
rm texmf-dist/doc/luatex/opbible/txs-gen/mod2tex || die
+
+ popd &> /dev/null || die
fi
}