Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-process/numactl: ChangeLog numactl-2.0.9.ebuild numactl-2.0.8.ebuild numactl-2.0.2.ebuild numactl-2.0.7.ebuild numactl-2.0.5.ebuild
Date: Sun, 05 Jan 2014 16:10:17
Message-Id: 20140105161013.79D442004C@flycatcher.gentoo.org
1 polynomial-c 14/01/05 16:10:13
2
3 Modified: ChangeLog
4 Added: numactl-2.0.9.ebuild
5 Removed: numactl-2.0.8.ebuild numactl-2.0.2.ebuild
6 numactl-2.0.7.ebuild numactl-2.0.5.ebuild
7 Log:
8 Version bump. Removed old
9
10 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
11
12 Revision Changes Path
13 1.29 sys-process/numactl/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/numactl/ChangeLog?rev=1.29&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/numactl/ChangeLog?rev=1.29&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/numactl/ChangeLog?r1=1.28&r2=1.29
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/sys-process/numactl/ChangeLog,v
22 retrieving revision 1.28
23 retrieving revision 1.29
24 diff -u -r1.28 -r1.29
25 --- ChangeLog 20 Apr 2013 04:15:52 -0000 1.28
26 +++ ChangeLog 5 Jan 2014 16:10:13 -0000 1.29
27 @@ -1,6 +1,14 @@
28 # ChangeLog for sys-process/numactl
29 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/ChangeLog,v 1.28 2013/04/20 04:15:52 vapier Exp $
31 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
32 +# $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/ChangeLog,v 1.29 2014/01/05 16:10:13 polynomial-c Exp $
33 +
34 +*numactl-2.0.9 (05 Jan 2014)
35 +
36 + 05 Jan 2014; Lars Wendler <polynomial-c@g.o> -numactl-2.0.2.ebuild,
37 + -numactl-2.0.5.ebuild, -numactl-2.0.7.ebuild, -numactl-2.0.8.ebuild,
38 + +numactl-2.0.9.ebuild, -files/numactl-2.0.2-build.patch,
39 + -files/numactl-2.0.5-protos.patch, +files/numactl-2.0.9-testsuite_fix.patch:
40 + Version bump. Removed old.
41
42 *numactl-2.0.8-r1 (20 Apr 2013)
43
44
45
46
47 1.1 sys-process/numactl/numactl-2.0.9.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/numactl/numactl-2.0.9.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/numactl/numactl-2.0.9.ebuild?rev=1.1&content-type=text/plain
51
52 Index: numactl-2.0.9.ebuild
53 ===================================================================
54 # Copyright 1999-2014 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/numactl-2.0.9.ebuild,v 1.1 2014/01/05 16:10:13 polynomial-c Exp $
57
58 EAPI="4"
59
60 inherit eutils toolchain-funcs multilib
61
62 DESCRIPTION="Utilities and libraries for NUMA systems"
63 HOMEPAGE="http://oss.sgi.com/projects/libnuma/"
64 SRC_URI="ftp://oss.sgi.com/www/projects/libnuma/download/${P}.tar.gz"
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
69 IUSE="static-libs"
70
71 src_prepare() {
72 echo "printf $(get_libdir)" > getlibdir
73 epatch "${FILESDIR}"/${PN}-2.0.8-static_libs.patch
74 epatch "${FILESDIR}"/${PN}-2.0.8-cpuid-pic.patch #456238
75 epatch "${FILESDIR}"/${PN}-2.0.9-testsuite_fix.patch
76 rm numastat || die #466108
77 }
78
79 src_compile() {
80 emake \
81 AR="$(tc-getAR)" \
82 CC="$(tc-getCC)" \
83 RANLIB="$(tc-getRANLIB)" \
84 CFLAGS="${CFLAGS}" \
85 BENCH_CFLAGS="" \
86 THREAD_SUPPORT=$(tc-has-tls && echo yes || echo no) \
87 BUILD_STATIC=$(usex static-libs)
88 }
89
90 src_test() {
91 if [ -d /sys/devices/system/node ]; then
92 einfo "The only generically safe test is regress2."
93 einfo "The other test cases require 2 NUMA nodes."
94 cd test
95 ./regress2 || die
96 else
97 ewarn "You do not have baseline NUMA support in your kernel, skipping tests."
98 fi
99 }
100
101 src_install() {
102 emake install prefix="${ED}/usr" BUILD_STATIC=$(usex static-libs)
103 # delete man pages provided by the man-pages package #238805
104 rm -rf "${ED}"/usr/share/man/man[25]
105 doman *.8 # makefile doesnt get them all
106 dodoc README TODO CHANGES DESIGN
107 }