Gentoo Archives: gentoo-commits

From: "Alexey Shvetsov (alexxy)" <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/amarok: ChangeLog amarok-2.0.1.1.ebuild
Date: Tue, 13 Jan 2009 15:07:11
Message-Id: E1LMkrB-0002cG-Ds@stork.gentoo.org
1 alexxy 09/01/13 15:07:05
2
3 Modified: ChangeLog amarok-2.0.1.1.ebuild
4 Log:
5 Add big fat warning about building amarok on amd64
6 (Portage version: 2.2_rc21/cvs/Linux 2.6.28-gentoo x86_64)
7
8 Revision Changes Path
9 1.299 media-sound/amarok/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amarok/ChangeLog?rev=1.299&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amarok/ChangeLog?rev=1.299&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amarok/ChangeLog?r1=1.298&r2=1.299
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v
18 retrieving revision 1.298
19 retrieving revision 1.299
20 diff -u -r1.298 -r1.299
21 --- ChangeLog 13 Jan 2009 14:40:22 -0000 1.298
22 +++ ChangeLog 13 Jan 2009 15:07:05 -0000 1.299
23 @@ -1,6 +1,9 @@
24 # ChangeLog for media-sound/amarok
25 # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v 1.298 2009/01/13 14:40:22 alexxy Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v 1.299 2009/01/13 15:07:05 alexxy Exp $
28 +
29 + 13 Jan 2009; Alexey Shvetsov <alexxy@g.o> amarok-2.0.1.1.ebuild:
30 + Add big fat warning about building amarok 2.0.1.1 on amd64.
31
32 13 Jan 2009; Alexey Shvetsov <alexxy@g.o> amarok-2.0.1.1.ebuild:
33 Add block to mysql builded with USE=minimal. That solves bug #254820
34
35
36
37 1.5 media-sound/amarok/amarok-2.0.1.1.ebuild
38
39 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amarok/amarok-2.0.1.1.ebuild?rev=1.5&view=markup
40 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amarok/amarok-2.0.1.1.ebuild?rev=1.5&content-type=text/plain
41 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amarok/amarok-2.0.1.1.ebuild?r1=1.4&r2=1.5
42
43 Index: amarok-2.0.1.1.ebuild
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-2.0.1.1.ebuild,v
46 retrieving revision 1.4
47 retrieving revision 1.5
48 diff -u -r1.4 -r1.5
49 --- amarok-2.0.1.1.ebuild 13 Jan 2009 14:40:22 -0000 1.4
50 +++ amarok-2.0.1.1.ebuild 13 Jan 2009 15:07:05 -0000 1.5
51 @@ -1,6 +1,6 @@
52 # Copyright 1999-2009 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-2.0.1.1.ebuild,v 1.4 2009/01/13 14:40:22 alexxy Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-2.0.1.1.ebuild,v 1.5 2009/01/13 15:07:05 alexxy Exp $
56
57 EAPI="2"
58
59 @@ -46,6 +46,23 @@
60 app-arch/unzip
61 daap? ( www-servers/mongrel )"
62
63 +pkg_setup() {
64 + if use amd64 ; then
65 + ewarn
66 + ewarn "Compilation will fail if dev-db/mysql[-community] is built without -fPIC in your CFLAGS!"
67 + ewarn "Related bug: http://bugs.gentoo.org/show_bug.cgi?id=238487"
68 + ewarn
69 + ewarn "To fix this, and to avoid using -fPIC globally in your make.conf (which is not recommended),"
70 + ewarn "put the following into /etc/portage/env/dev-db/mysql (or mysql-community, depending on which you use;"
71 + ewarn "create dirs and the file if they don't exist):"
72 + ewarn
73 + ewarn "CFLAGS=\"${CFLAGS} -DPIC -fPIC\""
74 + ewarn "CXXFLAGS=\"${CXXFLAGS} -DPIC -fPIC\""
75 + ewarn
76 + fi
77 + kde4-base_pkg_setup
78 +}
79 +
80 src_configure() {
81 if use debug; then
82 mycmakeargs="${mycmakeargs} -DCMAKE_BUILD_TYPE=debugfull"