summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-04-20 12:27:52 +0000
committerMike Frysinger <vapier@gentoo.org>2008-04-20 12:27:52 +0000
commit9b6f330f0a5459f398dd5d8fbb928bec8e1b7d29 (patch)
tree15ae815e3111fff1e177eee312a98b58f4a01b58 /media-libs/imlib2
parentamd64 stable - 218192 (diff)
downloadhistorical-9b6f330f0a5459f398dd5d8fbb928bec8e1b7d29.tar.gz
historical-9b6f330f0a5459f398dd5d8fbb928bec8e1b7d29.tar.bz2
historical-9b6f330f0a5459f398dd5d8fbb928bec8e1b7d29.zip
only enable visibility for gcc-4+ #218549
Package-Manager: portage-2.2_pre5
Diffstat (limited to 'media-libs/imlib2')
-rw-r--r--media-libs/imlib2/Manifest8
-rw-r--r--media-libs/imlib2/imlib2-1.4.1.000.ebuild13
2 files changed, 11 insertions, 10 deletions
diff --git a/media-libs/imlib2/Manifest b/media-libs/imlib2/Manifest
index 7f4d1bce919b..a0262a3245a5 100644
--- a/media-libs/imlib2/Manifest
+++ b/media-libs/imlib2/Manifest
@@ -4,13 +4,13 @@ Hash: SHA1
DIST imlib2-1.4.0.tar.gz 955897 RMD160 5b663a420e1008ddc047665912cad473323803da SHA1 2bbd65b82a690d21dab2bfeb33cc370f6bb49393 SHA256 4dd8c996bb466c10e8936eb283da1f90a820042c74f6de9207b51f4e87e2198b
DIST imlib2-1.4.1.000.tar.bz2 861125 RMD160 719c8e7be30705e90778c606e99f9f06d9be96f5 SHA1 27693677208ff5602e4646626294bee8e645e61d SHA256 bfd6871c19ca26b23116b5418962844b0db179bccbb0465176464780d483be79
EBUILD imlib2-1.4.0.ebuild 1303 RMD160 5acc5076c1cc442919b80ce02d2f93554adf6a71 SHA1 125b0087e8000c7290e19343f4fa60e9b287fbfe SHA256 bba18013ef3a4cf9d16e0995519a9c7fd0b10c1a1df82410f6393cd60d718eb2
-EBUILD imlib2-1.4.1.000.ebuild 1402 RMD160 57f05d0f113c5b785c25b31e2b0f4dee95a643fc SHA1 d430ce03b9157a8c332c1aef2d01b6c423c376c6 SHA256 f4b6f7afc20b169850ed616a732c766dea5c6c80fce8b69dcb1005ec9630c67d
+EBUILD imlib2-1.4.1.000.ebuild 1461 RMD160 659883ef4ea90890615820c325a3b0bc328ab833 SHA1 7e52a62a17f2b8c013136a5df18b65756400fb87 SHA256 ff7353fc538a6cc551bd57aa348c0669bfb963987e4253fd773197d5601d782a
MISC ChangeLog 7392 RMD160 658578020b6574170ddae1b7f912613e911cccd8 SHA1 774456bb69ed190d6a2fc6d9b2480aa4c162f928 SHA256 ebd6d7d305a2f60e71247f114a07803c4821d24d9036641f74272669e2e43c42
MISC metadata.xml 2255 RMD160 da6c5bba4102a0a0bf263ed8f986704d74292a8f SHA1 5e968e9ca6c3640ee5e3c98c6939099014edbb27 SHA256 81f9771e8e64255ed50d174fe917f9ed0507db9afe88df9f29ce311a6075b30f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFICl6fj9hvisErhMIRAil2AKCti2qs03Ghes+wqIAPIAkrvoFHrACeL47E
-Qqd1DkoMARVmVA4H36gNAU8=
-=xEyL
+iD8DBQFICzbOj9hvisErhMIRAqJ8AKDN14FmYqLY9omM5pp53bGXATI+3gCg4z+f
+EGCYshrPZSztcJULzEV40nw=
+=pTX2
-----END PGP SIGNATURE-----
diff --git a/media-libs/imlib2/imlib2-1.4.1.000.ebuild b/media-libs/imlib2/imlib2-1.4.1.000.ebuild
index 38ef99df8715..e8e0df641436 100644
--- a/media-libs/imlib2/imlib2-1.4.1.000.ebuild
+++ b/media-libs/imlib2/imlib2-1.4.1.000.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/media-libs/imlib2/imlib2-1.4.1.000.ebuild,v 1.1 2008/04/19 21:05:30 vapier Exp $
+# $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 $
inherit enlightenment toolchain-funcs
@@ -24,15 +24,16 @@ DEPEND="=media-libs/freetype-2*
src_compile() {
# imlib2 has diff configure options for x86/amd64 mmx
- local mymmx=""
+ local myconf=""
if [[ $(tc-arch) == "amd64" ]] ; then
- mymmx="$(use_enable mmx amd64) --disable-mmx"
+ myconf="$(use_enable mmx amd64) --disable-mmx"
else
- mymmx="--disable-amd64 $(use_enable mmx)"
+ myconf="--disable-amd64 $(use_enable mmx)"
fi
+ [[ $(gcc-major-version) -ge 4 ]] && myconf="${myconf} --enable-visibility-hiding"
+
export MY_ECONF="
- --enable-visibility-hiding
$(use_with X x) \
$(use_with jpeg) \
$(use_with png) \
@@ -41,7 +42,7 @@ src_compile() {
$(use_with zlib) \
$(use_with bzip2) \
$(use_with mp3 id3) \
- ${mymmx} \
+ ${myconf} \
"
enlightenment_src_compile
}