summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-03-22 19:13:11 +0000
committerMike Frysinger <vapier@gentoo.org>2012-03-22 19:13:11 +0000
commit31bd2e465b0c1f27108c0131fd2158695e5096c4 (patch)
tree3265af785021e8fae0ab4f184f7804ccd2ac395c
parentInitial import. Ebuild by me. (diff)
downloadgentoo-2-31bd2e465b0c1f27108c0131fd2158695e5096c4.tar.gz
gentoo-2-31bd2e465b0c1f27108c0131fd2158695e5096c4.tar.bz2
gentoo-2-31bd2e465b0c1f27108c0131fd2158695e5096c4.zip
Fix libdir handling and update to EAPI=4 #379849 by Agostino Sarubbo.
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
-rw-r--r--sys-process/numactl/ChangeLog7
-rw-r--r--sys-process/numactl/numactl-2.0.7-r1.ebuild18
2 files changed, 16 insertions, 9 deletions
diff --git a/sys-process/numactl/ChangeLog b/sys-process/numactl/ChangeLog
index 77e229a6f007..ce9f60ceb7c3 100644
--- a/sys-process/numactl/ChangeLog
+++ b/sys-process/numactl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-process/numactl
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/ChangeLog,v 1.20 2011/12/07 21:25:40 xarthisius Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/ChangeLog,v 1.21 2012/03/22 19:13:11 vapier Exp $
+
+ 22 Mar 2012; Mike Frysinger <vapier@gentoo.org> numactl-2.0.7-r1.ebuild:
+ Fix libdir handling and update to EAPI=4 #379849 by Agostino Sarubbo.
07 Dec 2011; Kacper Kowalik <xarthisius@gentoo.org> numactl-2.0.7-r1.ebuild:
Marked ~ppc64 wrt #381313
diff --git a/sys-process/numactl/numactl-2.0.7-r1.ebuild b/sys-process/numactl/numactl-2.0.7-r1.ebuild
index 7bd15733a350..da8b7ef7d2b1 100644
--- a/sys-process/numactl/numactl-2.0.7-r1.ebuild
+++ b/sys-process/numactl/numactl-2.0.7-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/numactl-2.0.7-r1.ebuild,v 1.2 2011/12/07 21:25:40 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/numactl-2.0.7-r1.ebuild,v 1.3 2012/03/22 19:13:11 vapier Exp $
-EAPI="3"
+EAPI="4"
-inherit eutils toolchain-funcs
+inherit eutils toolchain-funcs multilib
DESCRIPTION="Utilities and libraries for NUMA systems"
HOMEPAGE="http://oss.sgi.com/projects/libnuma/"
@@ -17,8 +17,12 @@ IUSE="perl"
RDEPEND="perl? ( dev-lang/perl )"
+src_prepare() {
+ echo "printf $(get_libdir)" > getlibdir
+}
+
src_compile() {
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" BENCH_CFLAGS="" || die
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" BENCH_CFLAGS=""
}
src_test() {
@@ -33,10 +37,10 @@ src_test() {
}
src_install() {
- emake install prefix="${ED}/usr" || die
+ emake install prefix="${ED}/usr"
# delete man pages provided by the man-pages package #238805
rm -rf "${ED}"/usr/share/man/man[25]
- doman *.8 || die # makefile doesnt get them all
+ doman *.8 # makefile doesnt get them all
dodoc README TODO CHANGES DESIGN
if ! use perl ; then
rm "${ED}"/usr/bin/numastat "${ED}"/usr/share/man/man8/numastat.8 || die