--- module-init-tools-3.11.ebuild.orig 2009-10-16 15:36:28 +0900 +++ module-init-tools-3.11.ebuild 2009-10-16 20:11:26 +0900 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-3.11.ebuild,v 1.1 2009/10/16 06:36:28 vapier Exp $ -inherit eutils +inherit eutils autotools DESCRIPTION="tools for managing linux kernel modules" HOMEPAGE="http://kerneltools.org/" @@ -11,7 +11,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="" +IUSE="doc" DEPEND="sys-libs/zlib >=sys-apps/baselayout-2.0.1 @@ -22,7 +22,8 @@ unpack ${A} cd "${S}" epatch "${FILESDIR}"/${PN}-3.2.2-handle-dupliate-aliases.patch #149426 - touch *.5 *.8 # dont regen manpages + epatch "${FILESDIR}"/${PN}-3.11-with-doc.patch #289278 + eautoreconf || die "eautoreconf failed" } src_compile() { @@ -30,7 +31,8 @@ --prefix=/ \ --enable-zlib \ --enable-zlib-dynamic \ - --disable-static-utils + --disable-static-utils \ + $(use_with doc) emake || die "emake module-init-tools failed" }