Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 379849 | Differences between
and this patch

Collapse All | Expand All

(-)numactl-2.0.7-r1.ebuild (-3 / +5 lines)
Lines 13-28 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"
16
IUSE="perl static-libs"
17
17
18
RDEPEND="perl? ( dev-lang/perl )"
18
RDEPEND="perl? ( dev-lang/perl )"
19
19
20
src_prepare() {
20
src_prepare() {
21
	echo "printf $(get_libdir)" > getlibdir
21
	echo "printf $(get_libdir)" > getlibdir
22
	epatch "${FILESDIR}"/${P}-static_libs.patch
22
}
23
}
23
24
24
src_compile() {
25
src_compile() {
25
	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" BENCH_CFLAGS=""
26
	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" BENCH_CFLAGS="" \
27
		BUILD_STATIC=$(usex static-libs)
26
}
28
}
27
29
28
src_test() {
30
src_test() {
Lines 37-43 Link Here
37
}
39
}
38
40
39
src_install() {
41
src_install() {
40
	emake install prefix="${ED}/usr"
42
	emake install prefix="${ED}/usr" BUILD_STATIC=$(usex static-libs)
41
	# delete man pages provided by the man-pages package #238805
43
	# delete man pages provided by the man-pages package #238805
42
	rm -rf "${ED}"/usr/share/man/man[25]
44
	rm -rf "${ED}"/usr/share/man/man[25]
43
	doman *.8 # makefile doesnt get them all
45
	doman *.8 # makefile doesnt get them all

Return to bug 379849