summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/gliv/gliv-1.9.6.ebuild')
-rw-r--r--media-gfx/gliv/gliv-1.9.6.ebuild16
1 files changed, 12 insertions, 4 deletions
diff --git a/media-gfx/gliv/gliv-1.9.6.ebuild b/media-gfx/gliv/gliv-1.9.6.ebuild
index ea7e95f31084..b1ca37e5ebb0 100644
--- a/media-gfx/gliv/gliv-1.9.6.ebuild
+++ b/media-gfx/gliv/gliv-1.9.6.ebuild
@@ -1,6 +1,10 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gliv/gliv-1.9.6.ebuild,v 1.8 2010/01/09 17:44:15 maekke Exp $
+
+EAPI=2
+
+inherit eutils autotools
DESCRIPTION="An image viewer that uses OpenGL"
HOMEPAGE="http://guichaz.free.fr/gliv/"
@@ -19,11 +23,15 @@ DEPEND="${RDEPEND}
dev-util/pkgconfig
>=sys-devel/bison-1.875"
-src_compile() {
+src_prepare() {
+ epatch "${FILESDIR}/${P}-as-needed.patch"
+ eautoreconf
+}
+
+src_configure() {
econf \
--disable-dependency-tracking \
$(use_enable nls) || die
- emake || die "emake failed"
}
src_install() {