summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-06-29 13:19:23 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-06-29 13:19:23 +0000
commit1984e5147801b80fe0b8a8b24096b251cf71e140 (patch)
tree5d0d5b4eb719e99ad58bbb3e815deebcb5736c56 /x11-misc/lavaps/lavaps-2.7-r2.ebuild
parentquoting (diff)
downloadgentoo-2-1984e5147801b80fe0b8a8b24096b251cf71e140.tar.gz
gentoo-2-1984e5147801b80fe0b8a8b24096b251cf71e140.tar.bz2
gentoo-2-1984e5147801b80fe0b8a8b24096b251cf71e140.zip
Build-only fixes to avoid makefile patching, acinclude patching, and sundry other ways people have abused this package over the years. Fixes bug #226845.
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686)
Diffstat (limited to 'x11-misc/lavaps/lavaps-2.7-r2.ebuild')
-rw-r--r--x11-misc/lavaps/lavaps-2.7-r2.ebuild15
1 files changed, 12 insertions, 3 deletions
diff --git a/x11-misc/lavaps/lavaps-2.7-r2.ebuild b/x11-misc/lavaps/lavaps-2.7-r2.ebuild
index 3d164d841084..c6407e860acd 100644
--- a/x11-misc/lavaps/lavaps-2.7-r2.ebuild
+++ b/x11-misc/lavaps/lavaps-2.7-r2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/lavaps/lavaps-2.7-r2.ebuild,v 1.2 2008/06/29 12:44:25 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/lavaps/lavaps-2.7-r2.ebuild,v 1.3 2008/06/29 13:19:23 loki_val Exp $
-inherit eutils
+inherit autotools eutils
DESCRIPTION="Lava Lamp graphical representation of running processes."
HOMEPAGE="http://www.isi.edu/~johnh/SOFTWARE/LAVAPS/"
@@ -16,7 +16,8 @@ IUSE="gtk"
DEPEND=">=dev-lang/tk-8.3.3
gtk? ( >=x11-libs/gtk+-2.2
>=gnome-base/libgnomecanvas-2.2
- >=gnome-base/libgnomeui-2.2 )
+ >=gnome-base/libgnomeui-2.2
+ dev-util/intltool )
!gtk? ( dev-lang/tcl )"
RDEPEND="${DEPEND}"
@@ -26,6 +27,14 @@ src_unpack() {
epatch "${FILESDIR}/${P}-this-makes-it-compile.patch"
epatch "${FILESDIR}/${P}-build-fixes.patch"
epatch "${FILESDIR}/${P}-gcc43.patch"
+ #We need to get rid of the old macros.
+ rm acinclude.m4
+ #Update to newer namespace.
+ sed -i \
+ -e "s:AC_PROG_INTLTOOL:IT_PROG_INTLTOOL:" \
+ -e "s:AM_GLIB_GNU_GETTEXT:GLIB_GNU_GETTEXT:" \
+ configure.gtk.ac
+ eautoreconf
}
src_compile() {