diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-03-20 20:33:28 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-03-20 20:33:28 +0000 |
commit | 6827dd1a21d471bd4368ca15e5cac9c5565c9409 (patch) | |
tree | c9f164dab764603b3cb9a4a3156432685c4df88b /dev-lang/python/python-2.5.4-r4.ebuild | |
parent | Version bump, bug 304025. Updated usage of python eclass and also dep on >=py... (diff) | |
download | gentoo-2-6827dd1a21d471bd4368ca15e5cac9c5565c9409.tar.gz gentoo-2-6827dd1a21d471bd4368ca15e5cac9c5565c9409.tar.bz2 gentoo-2-6827dd1a21d471bd4368ca15e5cac9c5565c9409.zip |
Use -fwrapv (bug #297276). Install email module with USE="build".
(Portage version: 15835-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/python/python-2.5.4-r4.ebuild')
-rw-r--r-- | dev-lang/python/python-2.5.4-r4.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-lang/python/python-2.5.4-r4.ebuild b/dev-lang/python/python-2.5.4-r4.ebuild index b5db8a64f622..d3990f123b18 100644 --- a/dev-lang/python/python-2.5.4-r4.ebuild +++ b/dev-lang/python/python-2.5.4-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.5.4-r4.ebuild,v 1.14 2010/03/07 11:31:55 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.5.4-r4.ebuild,v 1.15 2010/03/20 20:33:28 arfrever Exp $ EAPI="1" @@ -134,6 +134,10 @@ src_configure() { einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" fi + if [[ "$(gcc-major-version)" -ge 4 ]]; then + append-flags -fwrapv + fi + export OPT="${CFLAGS}" filter-flags -malign-double @@ -242,7 +246,7 @@ src_install() { sed -e "s:^OPT=.*:OPT=\t\t-DNDEBUG:" -i "${D}$(python_get_libdir)/config/Makefile" if use build; then - rm -fr "${D}usr/bin/idle${SLOT}" "${D}$(python_get_libdir)/"{bsddb,email,idlelib,lib-tk,sqlite3,test} + rm -fr "${D}usr/bin/idle${SLOT}" "${D}$(python_get_libdir)/"{bsddb,idlelib,lib-tk,sqlite3,test} else use elibc_uclibc && rm -fr "${D}$(python_get_libdir)/"{bsddb/test,test} use berkdb || rm -fr "${D}$(python_get_libdir)/"{bsddb,test/test_bsddb*} |