--- gliv-1.9.6.ebuild.orig 2010-01-03 16:22:27.252161664 +0100 +++ gliv-1.9.6.ebuild 2010-01-03 16:22:40.765552931 +0100 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/gliv/gliv-1.9.6.ebuild,v 1.7 2009/11/25 22:18:55 maekke Exp $ +inherit eutils autotools + DESCRIPTION="An image viewer that uses OpenGL" HOMEPAGE="http://guichaz.free.fr/gliv/" SRC_URI="http://guichaz.free.fr/gliv/files/${P}.tar.bz2" @@ -19,6 +21,14 @@ dev-util/pkgconfig >=sys-devel/bison-1.875" +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-as-needed.patch" + eautoreconf +} + src_compile() { econf \ --disable-dependency-tracking \