diff options
author | George Shapovalov <george@gentoo.org> | 2005-11-08 17:41:36 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2005-11-08 17:41:36 +0000 |
commit | 09a6f306bcc3e4c6b82810bf6eaffef80da87c1d (patch) | |
tree | ca7536b1d34f0b9036aab9554e51ccc83dab0302 | |
parent | Ze depends, ze depends. Aye, fixing doc depends. Resolves bug #108994 (diff) | |
download | historical-09a6f306bcc3e4c6b82810bf6eaffef80da87c1d.tar.gz historical-09a6f306bcc3e4c6b82810bf6eaffef80da87c1d.tar.bz2 historical-09a6f306bcc3e4c6b82810bf6eaffef80da87c1d.zip |
fix for sparc arch (#87790)
Package-Manager: portage-2.0.53_rc7
-rw-r--r-- | sci-mathematics/pari/ChangeLog | 5 | ||||
-rw-r--r-- | sci-mathematics/pari/Manifest | 4 | ||||
-rw-r--r-- | sci-mathematics/pari/pari-2.1.6.ebuild | 12 |
3 files changed, 15 insertions, 6 deletions
diff --git a/sci-mathematics/pari/ChangeLog b/sci-mathematics/pari/ChangeLog index f653d9223215..9723e4783d13 100644 --- a/sci-mathematics/pari/ChangeLog +++ b/sci-mathematics/pari/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-mathematics/pari # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.18 2005/11/08 14:46:51 george Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.19 2005/11/08 17:41:36 george Exp $ + + 08 Nov 2005; George Shapovalov <george@gentoo.org> pari-2.1.6.ebuild: + fix for sparc arch (#87790) 08 Nov 2005; George Shapovalov <george@gentoo.org> pari-2.1.6.ebuild: no-optimization fixes were neede for this version as well, also diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index a9265194c799..3466490fd6b0 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,4 +1,4 @@ -MD5 d14df94f0f8de5f01073b592b04c4980 ChangeLog 5323 +MD5 55086a810d57dfb4c89392f4a64e80e7 ChangeLog 5426 MD5 ee951aeeb2122fab2aaf9803097fad76 files/digest-pari-2.1.5-r4 63 MD5 2fd9906f2bf293fdad42d572846508de files/digest-pari-2.1.6 60 MD5 c3f89da5ddbdb73646e3d64ee31ea887 files/docs.patch 915 @@ -6,4 +6,4 @@ MD5 dccf7ef464f99fa750a5c7fc3ec67e8f files/wrong_functype-r1.patch 1498 MD5 cbd309a01e2fee1a5ba6cb3a93ba5708 files/wrong_functype.patch 1946 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 MD5 c49cfeebeab95672f9d228b76c63522b pari-2.1.5-r4.ebuild 2520 -MD5 908ff95d7cba6248193933919c69f905 pari-2.1.6.ebuild 2312 +MD5 8aca1c2d2f15f55900235c498da7a34a pari-2.1.6.ebuild 2482 diff --git a/sci-mathematics/pari/pari-2.1.6.ebuild b/sci-mathematics/pari/pari-2.1.6.ebuild index a7cd904d7029..505808630c2f 100644 --- a/sci-mathematics/pari/pari-2.1.6.ebuild +++ b/sci-mathematics/pari/pari-2.1.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.1.6.ebuild,v 1.13 2005/11/08 14:46:51 george Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.1.6.ebuild,v 1.14 2005/11/08 17:41:36 george Exp $ inherit eutils toolchain-funcs flag-o-matic @@ -10,7 +10,7 @@ SRC_URI="http://pari.math.u-bordeaux.fr/pub/pari/unix/${P}.tgz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 hppa mips ppc x86" +KEYWORDS="alpha amd64 hppa mips ppc ~sparc x86" IUSE="doc emacs" DEPEND="doc? ( virtual/tetex )" @@ -26,6 +26,12 @@ src_compile() { # Fix usage of toolchain tc-getAS; tc-getLD; tc-getCC; tc-getCXX + # Special handling for sparc + local myhost + [ "${PROFILE_ARCH}" == "sparc64" ] && myhost="sparc64-linux" \ + || myhost="$(echo ${CHOST} | cut -f "1 3" -d '-')" + einfo "Building for ${myhost}" + #need to force optimization here, as it breaks without if is-flag -O0; then replace-flags -O0 -O2 @@ -36,7 +42,7 @@ src_compile() { if [ "${ARCH}" = "amd64" ] && ! is-flag -fPIC; then append-flags -fPIC; fi ./Configure \ - --host="$(echo ${CHOST} | cut -f "1 3" -d '-')" \ + --host=${myhost} \ --prefix=/usr \ --miscdir=/usr/share/doc/${PF} \ --datadir=/usr/share/${P} \ |