emerge of dev-util/um results in the following error: checking for KDE... configure: error: in the prefix, you've chosen, are no KDE headers installed. This will fail. So, check this please and use another prefix! !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 1, Exitcode 1 !!! (no error message) !!! emerge aborting on /usr/portage/dev-util/uml/uml-1.0.1.ebuild .
Basicaly it looks like kde apps must use the eclass approach? Anyway, following kdbg as an example, the following ebuild appears to work: # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Holger Brueckner <darks@gentoo.org> # /space/gentoo/cvsroot/gentoo-x86/dev-util/uml/uml-1.0.1.ebuild,v 1.2 2001/11/10 12:45:09 hallski Exp S=${WORKDIR}/${P} . /usr/portage/eclass/inherit.eclass || die inherit kde-base || die need-kde 2 DESCRIPTION="KDE 2.2 UML Drawing Utility" SRC_URI="http://prdownloads.sourceforge.net/uml/${P}.tar.gz" HOMEPAGE="http://uml.sourceforge.net" RDEPEND=">=kde-base/kdebase-2.2" DEPEND="${RDEPEND} virtual/glibc" src_compile() { kde_src_compile myconf myconf="$myconf --with-kde-version=2" kde_src_compile configure make # ./configure --prefix=/usr --disable-debug --mandir=${D}/usr/share/man || die # emake || die } #src_install() { # make DESTDIR=${D} install || die #}
OK, I've made a proper inheriting ebuild and it emerges and runs here. About to commit.