From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/imlib2: imlib2-1.4.1.000.ebuild |
Date: | Sun, 20 Apr 2008 12:27:56 |
Message-Id: | E1JnYe9-0003T6-Bx@stork.gentoo.org |
1 | vapier 08/04/20 12:27:53 |
2 | |
3 | Modified: imlib2-1.4.1.000.ebuild |
4 | Log: |
5 | only enable visibility for gcc-4+ #218549 |
6 | (Portage version: 2.2_pre5) |
7 | |
8 | Revision Changes Path |
9 | 1.2 media-libs/imlib2/imlib2-1.4.1.000.ebuild |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/imlib2/imlib2-1.4.1.000.ebuild?rev=1.2&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/imlib2/imlib2-1.4.1.000.ebuild?rev=1.2&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/imlib2/imlib2-1.4.1.000.ebuild?r1=1.1&r2=1.2 |
14 | |
15 | Index: imlib2-1.4.1.000.ebuild |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/media-libs/imlib2/imlib2-1.4.1.000.ebuild,v |
18 | retrieving revision 1.1 |
19 | retrieving revision 1.2 |
20 | diff -u -r1.1 -r1.2 |
21 | --- imlib2-1.4.1.000.ebuild 19 Apr 2008 21:05:30 -0000 1.1 |
22 | +++ imlib2-1.4.1.000.ebuild 20 Apr 2008 12:27:52 -0000 1.2 |
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/media-libs/imlib2/imlib2-1.4.1.000.ebuild,v 1.1 2008/04/19 21:05:30 vapier Exp $ |
27 | +# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/imlib2-1.4.1.000.ebuild,v 1.2 2008/04/20 12:27:52 vapier Exp $ |
28 | |
29 | inherit enlightenment toolchain-funcs |
30 | |
31 | @@ -24,15 +24,16 @@ |
32 | |
33 | src_compile() { |
34 | # imlib2 has diff configure options for x86/amd64 mmx |
35 | - local mymmx="" |
36 | + local myconf="" |
37 | if [[ $(tc-arch) == "amd64" ]] ; then |
38 | - mymmx="$(use_enable mmx amd64) --disable-mmx" |
39 | + myconf="$(use_enable mmx amd64) --disable-mmx" |
40 | else |
41 | - mymmx="--disable-amd64 $(use_enable mmx)" |
42 | + myconf="--disable-amd64 $(use_enable mmx)" |
43 | fi |
44 | |
45 | + [[ $(gcc-major-version) -ge 4 ]] && myconf="${myconf} --enable-visibility-hiding" |
46 | + |
47 | export MY_ECONF=" |
48 | - --enable-visibility-hiding |
49 | $(use_with X x) \ |
50 | $(use_with jpeg) \ |
51 | $(use_with png) \ |
52 | @@ -41,7 +42,7 @@ |
53 | $(use_with zlib) \ |
54 | $(use_with bzip2) \ |
55 | $(use_with mp3 id3) \ |
56 | - ${mymmx} \ |
57 | + ${myconf} \ |
58 | " |
59 | enlightenment_src_compile |
60 | } |
61 | |
62 | |
63 | |
64 | -- |
65 | gentoo-commits@l.g.o mailing list |