summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2005-06-26 13:49:26 +0000
committerGuy Martin <gmsoft@gentoo.org>2005-06-26 13:49:26 +0000
commit22cd255183828847fd82df15606db8a913a43a45 (patch)
treed5e1f5f22226808bbfd6e7278e495fea0cfbd963 /sci-mathematics
parentFixed fail to compile on amd64. (diff)
downloadgentoo-2-22cd255183828847fd82df15606db8a913a43a45.tar.gz
gentoo-2-22cd255183828847fd82df15606db8a913a43a45.tar.bz2
gentoo-2-22cd255183828847fd82df15606db8a913a43a45.zip
Stable on hppa.
(Portage version: 2.0.51.19)
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/pari/ChangeLog5
-rw-r--r--sci-mathematics/pari/Manifest8
-rw-r--r--sci-mathematics/pari/pari-2.1.5-r4.ebuild11
3 files changed, 17 insertions, 7 deletions
diff --git a/sci-mathematics/pari/ChangeLog b/sci-mathematics/pari/ChangeLog
index 35b4fa4909ad..121886a1f943 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.13 2005/06/26 02:22:38 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.14 2005/06/26 13:49:26 gmsoft Exp $
+
+ 26 Jun 2005; Guy Martin <gmsoft@gentoo.org> pari-2.1.5-r4.ebuild:
+ Stable on hppa.
26 Jun 2005; Olivier Fisette <ribosome@gentoo.org> -pari-2.1.5-r1.ebuild:
Removed obsolete version.
diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest
index 82fe1587834c..e31e679aa838 100644
--- a/sci-mathematics/pari/Manifest
+++ b/sci-mathematics/pari/Manifest
@@ -1,9 +1,9 @@
-MD5 4818ef4876441247184df2b11538de44 pari-2.1.5-r4.ebuild 1882
-MD5 627fadd2aa9ad53161b00d5452ba034d pari-2.1.6.ebuild 2028
MD5 ac8af30a768f42fc0e2427f08dde25a5 ChangeLog 4741
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
-MD5 c3f89da5ddbdb73646e3d64ee31ea887 files/docs.patch 915
+MD5 ce70009b893b04ddea65eced0d8332bb pari-2.1.5-r4.ebuild 2275
+MD5 627fadd2aa9ad53161b00d5452ba034d pari-2.1.6.ebuild 2028
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.5-r4.ebuild b/sci-mathematics/pari/pari-2.1.5-r4.ebuild
index 4127e28ad08c..85ce1a661107 100644
--- a/sci-mathematics/pari/pari-2.1.5-r4.ebuild
+++ b/sci-mathematics/pari/pari-2.1.5-r4.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.5-r4.ebuild,v 1.1 2005/01/07 09:40:26 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.1.5-r4.ebuild,v 1.2 2005/06/26 13:49:26 gmsoft Exp $
inherit eutils
@@ -10,7 +10,7 @@ SRC_URI="http://www.gn-50uma.de/ftp/pari-2.1/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ~ppc ~sparc alpha ~mips ~hppa amd64"
+KEYWORDS="x86 ~ppc ~sparc alpha ~mips hppa amd64"
IUSE="doc emacs"
@@ -46,6 +46,13 @@ src_compile() {
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!"
+ elif use hppa; then
+ einfo "Building shared library..."
+ cd Olinux-hppa*
+ mymake=DLLD\=/usr/bin/gcc\ DLLDFLAGS\=-shared\ -Wl,-soname=\$\(LIBPARI_SONAME\)\ -lm
+ emake CFLAGS="${CFLAGS} -DGCC_INLINE -fPIC" ${mymake} 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