From 0d2e7ed6c5af3f63cc1071ce754d8306e61cf8b5 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Sat, 30 Jan 2016 13:48:04 +0100 Subject: dev-tex/g-brief: Fix build. Bug #573374. Remove files that are going to be re-generated. Remove .dtx files after generating output so that it is not re-processing at src_install which would fail. Add missing dep. Remove outdated tetex blocker. Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier --- dev-tex/g-brief/g-brief-4.0.2.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'dev-tex') diff --git a/dev-tex/g-brief/g-brief-4.0.2.ebuild b/dev-tex/g-brief/g-brief-4.0.2.ebuild index 29c11ced32e9..971d2395348a 100644 --- a/dev-tex/g-brief/g-brief-4.0.2.ebuild +++ b/dev-tex/g-brief/g-brief-4.0.2.ebuild @@ -16,8 +16,17 @@ IUSE="" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -RDEPEND="!>=app-text/tetex-2.96" +RDEPEND="dev-texlive/texlive-langgerman" DEPEND="${RDEPEND} app-arch/unzip" TEXMF="/usr/share/texmf-site" + +src_compile() { + # latex chokes if these file exist, bug #573374 + rm -f g-brief.drv g-brief.cls g-brief.sty g-brief2.cls g-brief2.sty beispiel.tex beispiel2.tex + latex-package_src_compile + # Now that the source is processed, remove it so that it is not (wrongly) + # reprocessed at src_install. + rm -f g-brief.dtx +} -- cgit v1.2.3-65-gdbad