From 5c77454d6cbdcdd3c4bae1263fcee30ea62d9494 Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Thu, 23 Sep 2010 04:11:04 +0000 Subject: Fixed parallel building for docs, thanks Francois Bissey, bug #338270 (Portage version: 2.2_rc86/cvs/Linux x86_64) --- sci-mathematics/pari/ChangeLog | 6 ++- .../pari/files/pari-2.3.5-doc-make.patch | 46 ++++++++++++++++++++++ sci-mathematics/pari/pari-2.3.5.ebuild | 3 +- 3 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 sci-mathematics/pari/files/pari-2.3.5-doc-make.patch (limited to 'sci-mathematics/pari') diff --git a/sci-mathematics/pari/ChangeLog b/sci-mathematics/pari/ChangeLog index c179d3437849..11713481097f 100644 --- a/sci-mathematics/pari/ChangeLog +++ b/sci-mathematics/pari/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-mathematics/pari # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.78 2010/09/14 17:21:51 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.79 2010/09/23 04:11:04 bicatali Exp $ + + 23 Sep 2010; Sébastien Fabbro pari-2.3.5.ebuild, + +files/pari-2.3.5-doc-make.patch: + Fixed parallel building for docs, thanks Francois Bissey, bug #338270 14 Sep 2010; Sébastien Fabbro -pari-2.1.7-r1.ebuild, -pari-2.3.2.ebuild, -pari-2.3.2-r1.ebuild, diff --git a/sci-mathematics/pari/files/pari-2.3.5-doc-make.patch b/sci-mathematics/pari/files/pari-2.3.5-doc-make.patch new file mode 100644 index 000000000000..67edc8c70f11 --- /dev/null +++ b/sci-mathematics/pari/files/pari-2.3.5-doc-make.patch @@ -0,0 +1,46 @@ +--- config/DOC_Make.SH.orig 2010-09-21 21:24:56.655520480 +1200 ++++ config/DOC_Make.SH 2010-09-21 21:26:24.683520242 +1200 +@@ -30,23 +30,23 @@ + -rm -f libpari.std + pdftex libpari + pdftex libpari +- make libpari.std; pdftex libpari; rm -f libpari.std ++ \$(MAKE) libpari.std; pdftex libpari; rm -f libpari.std + libpari.dvi: \$(PARI_TEX) \$(MACROS) + -rm -f libpari.std + tex libpari + tex libpari +- make libpari.std; tex libpari; rm -f libpari.std ++ \$(MAKE) libpari.std; tex libpari; rm -f libpari.std + + develop.pdf: develop.tex \$(MACROS) + -rm -f develop.std + pdftex develop + pdftex develop +- make develop.std; pdftex develop; rm -f develop.std ++ \$(MAKE) develop.std; pdftex develop; rm -f develop.std + develop.dvi: develop.tex \$(MACROS) + -rm -f develop.std + tex develop + tex develop +- make develop.std; tex develop; rm -f develop.std ++ \$(MAKE) develop.std; tex develop; rm -f develop.std + + tutorial.pdf: tutorial.tex \$(MACROS) + -rm -f tutorial.std +@@ -74,13 +74,13 @@ + -rm -f users.std + tex users + tex users +- make users.std; tex users; rm -f users.std ++ \$(MAKE) users.std; tex users; rm -f users.std + + users.pdf: \$(USERS_TEX) + -rm -f users.std + pdftex users + pdftex users +- make users.std; pdftex users; rm -f users.std ++ \$(MAKE) users.std; pdftex users; rm -f users.std + + gpman: gp.1 + nroff -man gp.1 | unix2dos -ascii > gp.man diff --git a/sci-mathematics/pari/pari-2.3.5.ebuild b/sci-mathematics/pari/pari-2.3.5.ebuild index ec5cc77d2e0b..98f28e32e95a 100644 --- a/sci-mathematics/pari/pari-2.3.5.ebuild +++ b/sci-mathematics/pari/pari-2.3.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.5.ebuild,v 1.2 2010/09/14 17:21:51 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.5.ebuild,v 1.3 2010/09/23 04:11:04 bicatali Exp $ EAPI=2 inherit elisp-common eutils flag-o-matic toolchain-funcs @@ -46,6 +46,7 @@ src_prepare() { fi epatch "${FILESDIR}/"${PN}-2.3.2-strip.patch epatch "${FILESDIR}/"${PN}-2.3.2-ppc-powerpc-arch-fix.patch + epatch "${FILESDIR}/"${PN}-2.3.5-doc-make.patch # disable default building of docs during install sed -i \ -- cgit v1.2.3-65-gdbad