diff options
author | Markus Dittrich <markusle@gentoo.org> | 2008-04-03 12:37:59 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2008-04-03 12:37:59 +0000 |
commit | 7deaa125826265e3e33b240488e8c7162deeada2 (patch) | |
tree | cccb425892230c563e57e9862e000b5a9ee67f7e /sci-mathematics/pari | |
parent | Mask udev-119-r1 to hack on udev-start.sh (diff) | |
download | historical-7deaa125826265e3e33b240488e8c7162deeada2.tar.gz historical-7deaa125826265e3e33b240488e8c7162deeada2.tar.bz2 historical-7deaa125826265e3e33b240488e8c7162deeada2.zip |
Made the ebuild mode generic for it to work on BSD also (see bug #214379).
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sci-mathematics/pari')
-rw-r--r-- | sci-mathematics/pari/ChangeLog | 6 | ||||
-rw-r--r-- | sci-mathematics/pari/Manifest | 4 | ||||
-rw-r--r-- | sci-mathematics/pari/pari-2.3.2-r1.ebuild | 15 |
3 files changed, 20 insertions, 5 deletions
diff --git a/sci-mathematics/pari/ChangeLog b/sci-mathematics/pari/ChangeLog index 21b976a155a9..eba8eaea5217 100644 --- a/sci-mathematics/pari/ChangeLog +++ b/sci-mathematics/pari/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-mathematics/pari # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.56 2008/02/29 03:25:49 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.57 2008/04/03 12:37:59 markusle Exp $ + + 03 Apr 2008; Markus Dittrich <markusle@gentoo.org> pari-2.3.2-r1.ebuild: + Made the ebuild mode generic for it to work on BSD also (see bug #214379). + Thanks much to Henning Schild <henning@wh9.tu-dresden.de> for his patch. 29 Feb 2008; Brent Baude <ranger@gentoo.org> pari-2.3.2-r1.ebuild: keyworded ~arch for ppc64, bug 211795 diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest index 35bffdb017c3..33d0112a3f81 100644 --- a/sci-mathematics/pari/Manifest +++ b/sci-mathematics/pari/Manifest @@ -15,7 +15,7 @@ EBUILD pari-2.1.6.ebuild 2490 RMD160 94f196d096f2ce6ba66c958e0087757c20b38424 SH EBUILD pari-2.1.7-r1.ebuild 2749 RMD160 47956f86a6ec165eb84d83c1ae849a95baab70d0 SHA1 517fbe2b654f316803c819de2e2098165138c2a2 SHA256 15b0ca5d7f225c987fe538d42a7765265d17aed24482ca30483fc3cf35fce79f EBUILD pari-2.1.7.ebuild 2455 RMD160 d0ad983e207524323f42d6b36501e6222c60d33c SHA1 d65fe62d495beed348ac6090f150d4db6197b3d3 SHA256 729c06392f86496f349acf82af4bbfc448fef5bf7c666584882127c6ab413629 EBUILD pari-2.3.0.ebuild 2687 RMD160 0842978a58fa9cbf7c2491f3e84633850ba383ec SHA1 ee4750ec1e441f2ddeccd9420a0d3870e0129df2 SHA256 7d5b647c0ccc3f73a846fc4f3861d4515d51c974ab7c8cbe7f995cef1183329f -EBUILD pari-2.3.2-r1.ebuild 2839 RMD160 daf9623aa9b47c1ec515d7cbc40b4cc61cf627b0 SHA1 3fa3d67b174bfce14bbcc603e284eb275bea7ac7 SHA256 849cf2d9c93c46d47f66e8bd50c89eb50cca80ede5de130b83467453b980a9b8 +EBUILD pari-2.3.2-r1.ebuild 3031 RMD160 e825e67e759705351c6d04afa99a5ea937bfaf7f SHA1 b31d62e20c3f9d04acfc6a94035554bed71f1cb8 SHA256 dec7d86b9e0e59030efc7c3bcc05327d6090790bfdb8bd5235dfab332f7973a9 EBUILD pari-2.3.2.ebuild 2990 RMD160 64d1807ad5fef220da62db8df3f99c7c4e14cb92 SHA1 88b65d5c4a0a136d334a99904acf0a2b8ca916e1 SHA256 344f393da4ae540a2602793d5cb95585f25e36741686fc790c93185c5dcfe7bd -MISC ChangeLog 10508 RMD160 951526c05336189b6f04b803cbee2ec8861b0086 SHA1 b3bb1ceeaf4311b8f4136470ddd559f4b6fd78c0 SHA256 72c1ffa838c6f8cfda651a2ecf6fcc517c995bf35244f7adf925747adef3fe4d +MISC ChangeLog 10738 RMD160 cb56e1d310956b0db67d93ea058f7d15d1095542 SHA1 42fea8584a110c78398d2a6561a3cd20bb83bec1 SHA256 209e1530273b969fd9058a2cc9dab6970c35623a600389b1660fa38475fcbf14 MISC metadata.xml 168 RMD160 d98790cf055dc0f820c63d65f485b9dcfa8950f4 SHA1 95c9e4f7368f82053d631bbcd469612c92ca13cb SHA256 c0cc8d6ab9385750af753ddc504299ed90a70b5c4c655f6c77d865917a8829c9 diff --git a/sci-mathematics/pari/pari-2.3.2-r1.ebuild b/sci-mathematics/pari/pari-2.3.2-r1.ebuild index 1964ca9432b9..09c7b936dc9a 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-2008 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.8 2008/02/29 03:25:49 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.2-r1.ebuild,v 1.9 2008/04/03 12:37:59 markusle Exp $ inherit elisp-common eutils flag-o-matic multilib toolchain-funcs @@ -19,6 +19,16 @@ DEPEND="doc? ( virtual/tetex ) emacs? ( virtual/emacs )" SITEFILE=50${PN}-gentoo.el + +get_compile_dir() { + pushd "${S}/config" >& /dev/null + local fastread=yes + source ./get_archos + popd >& /dev/null + echo "O${osname}-${arch}" +} + + src_unpack() { unpack ${A} cd "${S}" @@ -52,8 +62,9 @@ src_compile() { # Shared libraries should be PIC on ALL architectures. # Danny van Dyk <kugelfang@gentoo.org> 2005/03/31 # Fixes BUG #49583 + local installdir=$(get_compile_dir) einfo "Building shared library..." - cd Olinux-* || die "Bad directory. File a BUG!" + cd "${installdir}" || die "Bad directory. File a BUG!" emake ${mymake} CFLAGS="${CFLAGS} -DGCC_INLINE -fPIC" lib-dyn || die "Building shared library failed!" einfo "Building executables..." |