--- /usr/portage/x11-themes/gtk-engines-mist/gtk-engines-mist-0.10-r2.ebuild 2006-02-02 18:36:26.000000000 +0100 +++ /usr/portage/x11-themes/gtk-engines-mist/gtk-engines-mist-0.10-r2.ebuild 2006-12-13 16:15:27.000000000 +0100 @@ -1,8 +1,11 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-mist/gtk-engines-mist-0.10-r2.ebuild,v 1.9 2006/02/02 17:18:30 blubb Exp $ +# $Header: $ -inherit eutils +WANT_AUTOMAKE="1.6" +WANT_AUTOCONF="latest" + +inherit eutils autotools MY_PN="gtk-mist-engine" MY_P=${MY_PN}-${PV} @@ -21,23 +24,18 @@ src_unpack() { unpack ${A} - cd ${S} + cd "${S}" # patch that adds --[enable|disable]-gtk-[1|2] - liquidx@g.o (04 Oct 03) - epatch ${FILESDIR}/${P}-autoconf.patch - - export WANT_AUTOMAKE=1.6 - aclocal || die "aclocal failed" - autoconf || die "autoconf failed" - automake || die "automake failed" - libtoolize --copy --force + epatch "${FILESDIR}"/${P}-autoconf.patch + eautoreconf } src_compile() { local myconf="--enable-gtk-1 --disable-gtk-2 $(use_enable static)" - econf ${myconf} || die "configure failed" - emake || die "make failed" + econf ${myconf} || die "econf failed" + emake || die "emake failed" } src_install() {