diff --git a/dev-tcltk/tcldom/tcldom-2.6.ebuild b/dev-tcltk/tcldom/tcldom-2.6.ebuild --- a/dev-tcltk/tcldom/tcldom-2.6.ebuild +++ b/dev-tcltk/tcldom/tcldom-2.6.ebuild @@ -1,7 +1,11 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tcldom/tcldom-2.6.ebuild,v 1.6 2006/06/04 02:34:19 matsuu Exp $ +EAPI="2" + +inherit multilib + DESCRIPTION="Document Object Model For Tcl" HOMEPAGE="http://tclxml.sourceforge.net/tcldom.html" SRC_URI="mirror://sourceforge/tclxml/${P}.tar.gz" @@ -14,17 +18,14 @@ DEPEND=">=dev-lang/tcl-8.3.3" RDEPEND="${DEPEND} >=dev-tcltk/tclxml-2.6" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { # bug 131148 sed -i -e "s/relid'/relid/" \ {,src-libxml2/}configure {config,tclconfig}/tcl.m4 || die } -src_compile() { - econf || die - make || die +src_configure() { + econf --with-tcl=/usr/$(get_libdir) } src_install() {