summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-29 03:07:35 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-29 03:07:35 +0000
commit22b09b8b54ec7d94256a08f529bc3838160a3a2a (patch)
treeade725c16711f9dab7a6a6388c757b35083b6afa /sci-mathematics
parentMarked ~ppc for bug #86473. (diff)
downloadhistorical-22b09b8b54ec7d94256a08f529bc3838160a3a2a.tar.gz
historical-22b09b8b54ec7d94256a08f529bc3838160a3a2a.tar.bz2
historical-22b09b8b54ec7d94256a08f529bc3838160a3a2a.zip
hppa fix
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/pari/Manifest10
-rw-r--r--sci-mathematics/pari/pari-2.1.6.ebuild17
2 files changed, 10 insertions, 17 deletions
diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest
index 9238dc90f77b..c12c013ca7df 100644
--- a/sci-mathematics/pari/Manifest
+++ b/sci-mathematics/pari/Manifest
@@ -1,11 +1,11 @@
-MD5 4818ef4876441247184df2b11538de44 pari-2.1.5-r4.ebuild 1882
-MD5 73082ae75e95e6ef63e87b2bf267f255 pari-2.1.6.ebuild 1896
-MD5 d33b0309bbbaa8e508e35af360efb31b pari-2.1.5-r1.ebuild 953
MD5 bcb807d16b683aaa33ee7661306f6c50 ChangeLog 3572
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
-MD5 c3f89da5ddbdb73646e3d64ee31ea887 files/docs.patch 915
+MD5 d33b0309bbbaa8e508e35af360efb31b pari-2.1.5-r1.ebuild 953
+MD5 4818ef4876441247184df2b11538de44 pari-2.1.5-r4.ebuild 1882
+MD5 fe209288831d560efb220c57e0f91661 pari-2.1.6.ebuild 1629
MD5 ee951aeeb2122fab2aaf9803097fad76 files/digest-pari-2.1.5-r1 63
MD5 ee951aeeb2122fab2aaf9803097fad76 files/digest-pari-2.1.5-r4 63
-MD5 cbd309a01e2fee1a5ba6cb3a93ba5708 files/wrong_functype.patch 1946
MD5 2fd9906f2bf293fdad42d572846508de files/digest-pari-2.1.6 60
+MD5 c3f89da5ddbdb73646e3d64ee31ea887 files/docs.patch 915
MD5 dccf7ef464f99fa750a5c7fc3ec67e8f files/wrong_functype-r1.patch 1498
+MD5 cbd309a01e2fee1a5ba6cb3a93ba5708 files/wrong_functype.patch 1946
diff --git a/sci-mathematics/pari/pari-2.1.6.ebuild b/sci-mathematics/pari/pari-2.1.6.ebuild
index b156f842b4fc..857380f0eedc 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.2 2005/01/07 09:40:26 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.1.6.ebuild,v 1.3 2005/03/29 03:07:35 vapier Exp $
inherit eutils
@@ -10,8 +10,7 @@ SRC_URI="http://pari.math.u-bordeaux.fr/pub/pari/unix/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~amd64"
-
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
IUSE="doc emacs"
DEPEND="doc? ( virtual/tetex )"
@@ -27,25 +26,19 @@ src_compile() {
./Configure \
--host="$(echo ${CHOST} | cut -f "1 3" -d '-')" \
--prefix=/usr \
- --miscdir=/usr/share/doc/${P} \
+ --miscdir=/usr/share/doc/${PF} \
--datadir=/usr/share/${P} \
--mandir=/usr/share/man/man1 || die "./configure failed"
addwrite "/var/lib/texmf"
addwrite "/usr/share/texmf"
addwrite "/var/cache/fonts"
- if use amd64; then
+ if use amd64 || use alpha || use hppa ; then
# Fixes BUG #49583
einfo "Building shared library..."
- cd Olinux-x86_64
+ cd Olinux-${CHOST%%-*}
emake CFLAGS="${CFLAGS} -DGCC_INLINE -fPIC" lib-dyn || die "Building shared library failed!"
einfo "Building executables..."
emake CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp || die "Building exectuables failed!"
- elif use alpha; then
- einfo "Building shared library..."
- cd Olinux-alpha
- emake CFLAGS="${CFLAGS} -DGCC_INLINE -fPIC" lib-dyn || die "Building shared library failed!"
- einfo "Building executables..."
- emake CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp || die "Building exec tu ables failed!"
else
emake CFLAGS="${CFLAGS} -DGCC_INLINE" gp || die
fi