summaryrefslogtreecommitdiff
path: root/dev-tex/feynmf/feynmf-1.08-r6.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex/feynmf/feynmf-1.08-r6.ebuild')
-rw-r--r--dev-tex/feynmf/feynmf-1.08-r6.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-tex/feynmf/feynmf-1.08-r6.ebuild b/dev-tex/feynmf/feynmf-1.08-r6.ebuild
index 403fe57242a6..de9b53c8c6cc 100644
--- a/dev-tex/feynmf/feynmf-1.08-r6.ebuild
+++ b/dev-tex/feynmf/feynmf-1.08-r6.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit latex-package
@@ -22,6 +22,7 @@ DEPEND="${RDEPEND}
doc? ( dev-texlive/texlive-bibtexextra )"
S="${WORKDIR}/${PN}"
+
PATCHES=(
"${FILESDIR}"/${P}.patch
"${FILESDIR}"/${P}-tempfile.patch
@@ -47,6 +48,7 @@ src_install() {
dodoc README manual.ps template.tex
docompress -x /usr/share/doc/${PF}/manual.ps
# TEXMF is /usr/share/ plus one further path component
+ [[ ${TEXMF#/usr/share/} != */* ]] || die "Bad TEXMF path ${TEXMF}"
dosym ../../../../doc/${PF}/manual.ps \
${TEXMF}/doc/latex/${PN}/${PN}-manual.ps