Gentoo Archives: gentoo-commits

From: "Markus Dittrich (markusle)" <markusle@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/pari: pari-2.3.2-r1.ebuild ChangeLog
Date: Thu, 03 Apr 2008 12:38:03
Message-Id: E1JhOhb-0003GK-PV@stork.gentoo.org
1 markusle 08/04/03 12:37:59
2
3 Modified: pari-2.3.2-r1.ebuild ChangeLog
4 Log:
5 Made the ebuild mode generic for it to work on BSD also (see bug #214379).
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.9 sci-mathematics/pari/pari-2.3.2-r1.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pari/pari-2.3.2-r1.ebuild?rev=1.9&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pari/pari-2.3.2-r1.ebuild?rev=1.9&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pari/pari-2.3.2-r1.ebuild?r1=1.8&r2=1.9
14
15 Index: pari-2.3.2-r1.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.2-r1.ebuild,v
18 retrieving revision 1.8
19 retrieving revision 1.9
20 diff -u -r1.8 -r1.9
21 --- pari-2.3.2-r1.ebuild 29 Feb 2008 03:25:49 -0000 1.8
22 +++ pari-2.3.2-r1.ebuild 3 Apr 2008 12:37:59 -0000 1.9
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $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 $
27 +# $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 $
28
29 inherit elisp-common eutils flag-o-matic multilib toolchain-funcs
30
31 @@ -19,6 +19,16 @@
32 emacs? ( virtual/emacs )"
33 SITEFILE=50${PN}-gentoo.el
34
35 +
36 +get_compile_dir() {
37 + pushd "${S}/config" >& /dev/null
38 + local fastread=yes
39 + source ./get_archos
40 + popd >& /dev/null
41 + echo "O${osname}-${arch}"
42 +}
43 +
44 +
45 src_unpack() {
46 unpack ${A}
47 cd "${S}"
48 @@ -52,8 +62,9 @@
49 # Shared libraries should be PIC on ALL architectures.
50 # Danny van Dyk <kugelfang@g.o> 2005/03/31
51 # Fixes BUG #49583
52 + local installdir=$(get_compile_dir)
53 einfo "Building shared library..."
54 - cd Olinux-* || die "Bad directory. File a BUG!"
55 + cd "${installdir}" || die "Bad directory. File a BUG!"
56 emake ${mymake} CFLAGS="${CFLAGS} -DGCC_INLINE -fPIC" lib-dyn || die "Building shared library failed!"
57
58 einfo "Building executables..."
59
60
61
62 1.57 sci-mathematics/pari/ChangeLog
63
64 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pari/ChangeLog?rev=1.57&view=markup
65 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pari/ChangeLog?rev=1.57&content-type=text/plain
66 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pari/ChangeLog?r1=1.56&r2=1.57
67
68 Index: ChangeLog
69 ===================================================================
70 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v
71 retrieving revision 1.56
72 retrieving revision 1.57
73 diff -u -r1.56 -r1.57
74 --- ChangeLog 29 Feb 2008 03:25:49 -0000 1.56
75 +++ ChangeLog 3 Apr 2008 12:37:59 -0000 1.57
76 @@ -1,6 +1,10 @@
77 # ChangeLog for sci-mathematics/pari
78 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
79 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.56 2008/02/29 03:25:49 ranger Exp $
80 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.57 2008/04/03 12:37:59 markusle Exp $
81 +
82 + 03 Apr 2008; Markus Dittrich <markusle@g.o> pari-2.3.2-r1.ebuild:
83 + Made the ebuild mode generic for it to work on BSD also (see bug #214379).
84 + Thanks much to Henning Schild <henning@××××××××××××××.de> for his patch.
85
86 29 Feb 2008; Brent Baude <ranger@g.o> pari-2.3.2-r1.ebuild:
87 keyworded ~arch for ppc64, bug 211795
88
89
90
91 --
92 gentoo-commits@l.g.o mailing list