--- /home/flame/devel/gentoo-x86/app-text/hunspell/hunspell-1.1.4.ebuild 2006-05-13 21:11:53.000000000 +0200 +++ hunspell-1.1.4.ebuild 2006-05-17 16:06:32.000000000 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/hunspell-1.1.4.ebuild,v 1.6 2006/05/12 14:35:11 wolf31o2 Exp $ -inherit eutils multilib +inherit eutils multilib autotools libtool DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo." SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" @@ -11,7 +11,7 @@ SLOT="0" LICENSE="MPL-1.1 GPL-2 LGPL-2.1" IUSE="ncurses readline" -KEYWORDS="~ppc ~sparc x86" +KEYWORDS="~amd64 ~ppc ~sparc x86" DEPEND="readline? ( sys-libs/readline ) ncurses? ( sys-libs/ncurses ) @@ -26,8 +26,11 @@ # and 'unmunch' which are too generic to be placed in # /usr/bin - this patch prefixes them with 'hunspell-'. # It modifies a Makefile.am file, hence autoreconf. - epatch ${FILESDIR}/hunspell-1.1.3-renameexes.patch - autoreconf + epatch "${FILESDIR}/${P}-libtool.patch" + epatch "${FILESDIR}/${P}-renameexes.patch" + + WANT_AUTOMAKE="1.9" eautoreconf + elibtoolize } src_compile() { @@ -49,7 +52,7 @@ } src_install() { - emake DESTDIR=${D} install || die "emake install failed" + make DESTDIR=${D} install || die "make install failed" dodoc AUTHORS ChangeLog NEWS README THANKS TODO # hunspell is derived from myspell dodoc AUTHORS.myspell README.myspell license.myspell