diff options
author | 2005-04-03 15:09:07 +0000 | |
---|---|---|
committer | 2005-04-03 15:09:07 +0000 | |
commit | 5a38c302c6944794dd11b4e577acca3e385eca10 (patch) | |
tree | 3c1009fea929426cc7b27fc9ffa6f27fd22727c2 /sci-mathematics | |
parent | Fixed ebuild requires X connection. Bug 66030. (diff) | |
download | historical-5a38c302c6944794dd11b4e577acca3e385eca10.tar.gz historical-5a38c302c6944794dd11b4e577acca3e385eca10.tar.bz2 historical-5a38c302c6944794dd11b4e577acca3e385eca10.zip |
Fixed toolchaun usage.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/pari/ChangeLog | 13 | ||||
-rw-r--r-- | sci-mathematics/pari/Manifest | 10 | ||||
-rw-r--r-- | sci-mathematics/pari/pari-2.1.6.ebuild | 16 |
3 files changed, 28 insertions, 11 deletions
diff --git a/sci-mathematics/pari/ChangeLog b/sci-mathematics/pari/ChangeLog index 50bcc4c0dd5c..c5c8307e1523 100644 --- a/sci-mathematics/pari/ChangeLog +++ b/sci-mathematics/pari/ChangeLog @@ -1,6 +1,13 @@ # 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.5 2005/01/07 09:40:26 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.6 2005/04/03 15:09:07 kugelfang Exp $ + + 03 Apr 2005; Danny van Dyk <kugelfang@gentoo.org> pari-2.1.6.ebuild: + Fixed toolchain usage and added src_test() function. + + 03 Apr 2005; Danny van Dyk <kugelfang@gentoo.org> pari-2.1.6.ebuild: + Fixed -fPIC handling for all architectures. Fixed BUG #87283. + Marked stable on amd64. *pari-2.1.5-r4 (07 Jan 2005) @@ -30,7 +37,7 @@ +pari-2.1.5-r3.ebuild: Moved from app-sci/pari to sci-mathematics/pari. - 12 Sep 2004; Bryan Østergaard <kloeri@gentoo.org> pari-2.1.5-r3.ebuild: + 12 Sep 2004; Bryan ÃÂstergaard <kloeri@gentoo.org> pari-2.1.5-r3.ebuild: Fix fPIC issue on alpha. 06 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> pari-2.1.5-r3.ebuild: @@ -50,7 +57,7 @@ 08 May 2004; Danny van Dyk <kugelfang@gentoo.org> pari-2.1.5-r2.ebuild: Shared library will now be built with -fPIC, solves BUG #49853. - 05 May 2004; Bryan Østergaard <kloeri@gentoo.org> pari-2.1.5-r2.ebuild: + 05 May 2004; Bryan ÃÂstergaard <kloeri@gentoo.org> pari-2.1.5-r2.ebuild: Stable on alpha. 19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> pari-2.1.4.ebuild, diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index de1168ff59fa..eb4a709164a9 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -1,11 +1,11 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 bcb807d16b683aaa33ee7661306f6c50 ChangeLog 3572 +MD5 c881ae142213f4a6f3588e5a28213181 ChangeLog 3874 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 MD5 d33b0309bbbaa8e508e35af360efb31b pari-2.1.5-r1.ebuild 953 MD5 4818ef4876441247184df2b11538de44 pari-2.1.5-r4.ebuild 1882 -MD5 3f0a4b74c862c38b7048281e78d7ebc4 pari-2.1.6.ebuild 1683 +MD5 bc462d4cf4c16f9ebab9217f7dc3fffd pari-2.1.6.ebuild 1911 MD5 ee951aeeb2122fab2aaf9803097fad76 files/digest-pari-2.1.5-r1 63 MD5 ee951aeeb2122fab2aaf9803097fad76 files/digest-pari-2.1.5-r4 63 MD5 2fd9906f2bf293fdad42d572846508de files/digest-pari-2.1.6 60 @@ -15,7 +15,7 @@ MD5 cbd309a01e2fee1a5ba6cb3a93ba5708 files/wrong_functype.patch 1946 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) -iD8DBQFCT+Sg5mJXAu5GbtIRAtLGAJ0a9sqcYySSWNU3NPCXhag1T3a4iACeKOnC -IJLgVuTC9RRLVFNrDYCMRDM= -=+TlM +iD8DBQFCUAeJ5mJXAu5GbtIRAuL9AJ0R2D/kwlVNo4w0J+p38H+6SNEqPQCfZ2Nz +MB5UrV5v0SKNnDH/8Hig9xs= +=TYIm -----END PGP SIGNATURE----- diff --git a/sci-mathematics/pari/pari-2.1.6.ebuild b/sci-mathematics/pari/pari-2.1.6.ebuild index 01b6ff2d296b..d03e2250ff4d 100644 --- a/sci-mathematics/pari/pari-2.1.6.ebuild +++ b/sci-mathematics/pari/pari-2.1.6.ebuild @@ -1,8 +1,8 @@ # 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.4 2005/04/03 12:40:00 kugelfang Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.1.6.ebuild,v 1.5 2005/04/03 15:09:07 kugelfang Exp $ -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="pari (or pari-gp) : a software package for computer-aided number theory" HOMEPAGE="http://pari.math.u-bordeaux.fr/" @@ -23,11 +23,14 @@ src_unpack() { } src_compile() { + # Fix usage of toolchain + tc-getAS; tc-getLD; tc-getCC; tc-getCXX ./Configure \ --host="$(echo ${CHOST} | cut -f "1 3" -d '-')" \ --prefix=/usr \ --miscdir=/usr/share/doc/${PF} \ --datadir=/usr/share/${P} \ + --libdir=/usr/$(get_libdir) \ --mandir=/usr/share/man/man1 || die "./configure failed" addwrite "/var/lib/texmf" addwrite "/usr/share/texmf" @@ -46,7 +49,14 @@ src_compile() { use doc && emake doc } -src_install () { +src_test() { + cd ${S} + ebegin "Testing pari kernel" + make CFLAGS="-Wl,-lpari" test-kernel > /dev/null + eend $? +} + +src_install() { make DESTDIR=${D} LIBDIR=${D}/usr/$(get_libdir) install || die if use emacs; then insinto /usr/share/emacs/site-lisp |