--- libjingle-0.3.11.ebuild 2009-02-05 12:07:45.000000000 -0500 +++ libjingle-0.3.11.ebuild 2009-02-05 12:24:50.000000000 -0500 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-libs/libjingle/libjingle-0.3.11.ebuild,v 1.2 2008/05/14 12:24:09 drac Exp $ +EAPI="2" + inherit eutils DESCRIPTION="Google's jabber voice extension library modified by Tapioca" @@ -18,9 +20,13 @@ DEPEND="${RDEPEND} dev-util/pkgconfig" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { + # there is an error in configure.ac : CXXFLAGS are using CFLAGS + # see bug #234012 + # patching directly configure to prevent executing autoconf + sed -i -e 's/CXXFLAGS="$CFLAGS/CXXFLAGS="$CXXFLAGS/' configure \ + || die "patching configure failed" + epatch "${FILESDIR}"/${P}-gcc43.patch }