Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 466108
Collapse All | Expand All

(-)/var/portage/sys-process/numactl/numactl-2.0.8.ebuild (-5 / +5 lines)
Lines 13-25 Link Here
13
LICENSE="GPL-2"
13
LICENSE="GPL-2"
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
15
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
16
IUSE="perl static-libs"
16
IUSE="static-libs"
17
17
18
RDEPEND="perl? ( dev-lang/perl )"
18
RDEPEND=""
19
19
20
src_prepare() {
20
src_prepare() {
21
	echo "printf $(get_libdir)" > getlibdir
21
	echo "printf $(get_libdir)" > getlibdir
22
	epatch "${FILESDIR}"/${PN}-2.0.8-static_libs.patch
22
	epatch "${FILESDIR}"/${PN}-2.0.8-static_libs.patch
23
24
	# remove empty numactl file so it gets recreated correctly
25
	rm -f "${S}"/numastat
23
}
26
}
24
27
25
src_compile() {
28
src_compile() {
Lines 49-55 Link Here
49
	rm -rf "${ED}"/usr/share/man/man[25]
52
	rm -rf "${ED}"/usr/share/man/man[25]
50
	doman *.8 # makefile doesnt get them all
53
	doman *.8 # makefile doesnt get them all
51
	dodoc README TODO CHANGES DESIGN
54
	dodoc README TODO CHANGES DESIGN
52
	if ! use perl ; then
53
		rm "${ED}"/usr/bin/numastat "${ED}"/usr/share/man/man8/numastat.8 || die
54
	fi
55
}
55
}

Return to bug 466108