--- licq-1.3.5.ebuild.old 2007-12-01 21:35:44.000000000 +0100 +++ licq-1.3.5.ebuild.old 2008-04-22 00:52:51.000000000 +0200 @@ -1,10 +1,10 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.3.5.ebuild,v 1.1 2007/12/01 20:35:44 genstef Exp $ -inherit eutils kde-functions multilib +inherit autotools eutils kde-functions multilib DESCRIPTION="ICQ Client with v8 support" HOMEPAGE="http://www.licq.org/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" @@ -29,10 +29,12 @@ src_unpack() { unpack ${A} cd ${S} + epatch "${FILESDIR}/${P}-gcc43.patch" + use ncurses && epatch ${FILESDIR}/1.3.0-suse_bool.patch if use kde then # fix for #12436 @@ -55,10 +57,16 @@ # Install plugins in the correct libdir sed -i -e "s:lib/licq/:$(get_libdir)/licq/:" \ ${S}/include/licq_constants.h || die "sed failed" sed -i -e 's:$(prefix)/lib:@libdir@:' \ ${S}/plugins/*/src/Makefile.{in,am} || die "sed failed" + local mdir + for mdir in plugins/{msn,auto-reply,email}; do + pushd "${S}"/"${mdir}" + eautoconf + popd + done } src_compile() { use ssl || myconf="${myconf} --disable-openssl"