summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-01-30 13:48:04 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-01-30 13:48:48 +0100
commit0d2e7ed6c5af3f63cc1071ce754d8306e61cf8b5 (patch)
tree56e2a0480b9e0ee8c59ab5d36828be3fa85c71eb /dev-tex
parentsys-kernel/hardened-sources: remove older unstable version (diff)
downloadgentoo-0d2e7ed6c5af3f63cc1071ce754d8306e61cf8b5.tar.gz
gentoo-0d2e7ed6c5af3f63cc1071ce754d8306e61cf8b5.tar.bz2
gentoo-0d2e7ed6c5af3f63cc1071ce754d8306e61cf8b5.zip
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 <aballier@gentoo.org>
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/g-brief/g-brief-4.0.2.ebuild11
1 files changed, 10 insertions, 1 deletions
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 29c11ced32e..971d2395348 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
+}