summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2007-11-26 05:22:15 +0000
committerMarkus Dittrich <markusle@gentoo.org>2007-11-26 05:22:15 +0000
commit87a135cb51357a34a6ea317e11a782593b191caa (patch)
treedc045c8bef5b4b60f5cd6ff784a1943c1f1330ef /sci-mathematics/pari
parentStable for HPPA. Do not install LICENSE. (diff)
downloadgentoo-2-87a135cb51357a34a6ea317e11a782593b191caa.tar.gz
gentoo-2-87a135cb51357a34a6ea317e11a782593b191caa.tar.bz2
gentoo-2-87a135cb51357a34a6ea317e11a782593b191caa.zip
Added patch to enable proper testing and install phase on ppc (see bug #194265).
(Portage version: 2.1.4_rc3)
Diffstat (limited to 'sci-mathematics/pari')
-rw-r--r--sci-mathematics/pari/ChangeLog7
-rw-r--r--sci-mathematics/pari/files/pari-2.3.2-ppc-powerpc-arch-fix.patch11
-rw-r--r--sci-mathematics/pari/pari-2.3.2-r1.ebuild6
3 files changed, 21 insertions, 3 deletions
diff --git a/sci-mathematics/pari/ChangeLog b/sci-mathematics/pari/ChangeLog
index 7350a452ee82..389f73c23bdd 100644
--- a/sci-mathematics/pari/ChangeLog
+++ b/sci-mathematics/pari/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-mathematics/pari
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.53 2007/11/16 15:46:32 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.54 2007/11/26 05:22:15 markusle Exp $
+
+ 26 Nov 2007; Markus Dittrich <markusle@gentoo.org>
+ +files/pari-2.3.2-ppc-powerpc-arch-fix.patch, pari-2.3.2-r1.ebuild:
+ Added patch to enable proper testing and install phase on ppc
+ (see bug #194265). Thanks much to <nixnut@gentoo.org> for his patch.
16 Nov 2007; Markus Dittrich <markusle@gentoo.org> pari-2.1.5-r4.ebuild,
pari-2.1.6.ebuild, pari-2.1.7.ebuild, pari-2.1.7-r1.ebuild,
diff --git a/sci-mathematics/pari/files/pari-2.3.2-ppc-powerpc-arch-fix.patch b/sci-mathematics/pari/files/pari-2.3.2-ppc-powerpc-arch-fix.patch
new file mode 100644
index 000000000000..e3581c9de349
--- /dev/null
+++ b/sci-mathematics/pari/files/pari-2.3.2-ppc-powerpc-arch-fix.patch
@@ -0,0 +1,11 @@
+diff -Naur pari-2.3.2/config/arch-osname pari-2.3.2.new/config/arch-osname
+--- pari-2.3.2/config/arch-osname 2006-02-15 05:12:59.000000000 -0500
++++ pari-2.3.2.new/config/arch-osname 2007-11-26 00:17:17.000000000 -0500
+@@ -30,6 +30,7 @@
+ osf1) case "$5" in alpha) arch=alpha;; esac;;
+ linux) arch=`uname -m`
+ case $arch in
++ ppc) arch=powerpc;;
+ sparc64) arch=sparcv9;;
+ parisc*) arch=hppa;;
+ sparc) case "`cat /proc/cpuinfo`" in
diff --git a/sci-mathematics/pari/pari-2.3.2-r1.ebuild b/sci-mathematics/pari/pari-2.3.2-r1.ebuild
index 129c06d75c87..d244c9680ecd 100644
--- a/sci-mathematics/pari/pari-2.3.2-r1.ebuild
+++ b/sci-mathematics/pari/pari-2.3.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.2-r1.ebuild,v 1.4 2007/11/16 15:46:32 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.2-r1.ebuild,v 1.5 2007/11/26 05:22:15 markusle Exp $
inherit elisp-common eutils flag-o-matic multilib toolchain-funcs
@@ -23,7 +23,9 @@ src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}/${P}-strip.patch"
+ epatch "${FILESDIR}/"${P}-strip.patch
+ epatch "${FILESDIR}/"${P}-ppc-powerpc-arch-fix.patch
+
# disable default building of docs during install
sed -e "s:install-doc install-examples:install-examples:" \