From e18061761dd97f74c13850779395103eec9589ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulrich=20M=C3=BCller?= Date: Mon, 17 Apr 2017 22:03:56 +0200 Subject: [PATCH] dev-tex/feynmf: Create relative rather than absolute symlinks in doc dir. Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- .../{feynmf-1.08-r4.ebuild => feynmf-1.08-r5.ebuild} | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename dev-tex/feynmf/{feynmf-1.08-r4.ebuild => feynmf-1.08-r5.ebuild} (86%) diff --git a/dev-tex/feynmf/feynmf-1.08-r4.ebuild b/dev-tex/feynmf/feynmf-1.08-r5.ebuild similarity index 86% rename from dev-tex/feynmf/feynmf-1.08-r4.ebuild rename to dev-tex/feynmf/feynmf-1.08-r5.ebuild index 3b80d8be6e08..397fbe2b1ccb 100644 --- a/dev-tex/feynmf/feynmf-1.08-r4.ebuild +++ b/dev-tex/feynmf/feynmf-1.08-r5.ebuild @@ -7,7 +7,7 @@ inherit eutils latex-package DESCRIPTION="Combined LaTeX/Metafont package for drawing of Feynman diagrams" HOMEPAGE="http://www.ctan.org/tex-archive/macros/latex/contrib/feynmf/" -#Taken from: ftp.tug.ctan.org/tex-archive/macros/latex/contrib/${PN}.tar.gz +# Taken from: ftp.tug.ctan.org/tex-archive/macros/latex/contrib/${PN}.tar.gz SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.gz doc? ( https://dev.gentoo.org/~ulm/distfiles/${PN}-cnl.tar.gz )" @@ -43,7 +43,8 @@ src_install() { insinto ${TEXMF}/metapost/${PN}; doins feynmp.mp dodoc README manual.ps template.tex docompress -x /usr/share/doc/${PF}/manual.ps - dosym /usr/share/doc/${PF}/manual.ps \ + # TEXMF is /usr/share/ plus one further path component + dosym ../../../../doc/${PF}/manual.ps \ ${TEXMF}/doc/latex/${PN}/${PN}-manual.ps if use doc; then @@ -51,7 +52,7 @@ src_install() { for f in fmfcnl*.ps; do dodoc ${f} docompress -x /usr/share/doc/${PF}/${f} - dosym /usr/share/doc/${PF}/${f} ${TEXMF}/doc/latex/${PN}/${f} + dosym ../../../../doc/${PF}/${f} ${TEXMF}/doc/latex/${PN}/${f} done fi } -- 2.26.2