1 |
commit: 696aac797796455ed50faca69d18a7c67ba49c49 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 2 10:26:39 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 2 10:29:07 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=696aac79 |
7 |
|
8 |
sys-process/numactl: Synced live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.75, Repoman-2.3.17 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-process/numactl/numactl-9999.ebuild | 10 +++++----- |
14 |
1 file changed, 5 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/sys-process/numactl/numactl-9999.ebuild b/sys-process/numactl/numactl-9999.ebuild |
17 |
index 312ab570210..e38e4a77477 100644 |
18 |
--- a/sys-process/numactl/numactl-9999.ebuild |
19 |
+++ b/sys-process/numactl/numactl-9999.ebuild |
20 |
@@ -1,7 +1,7 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=6 |
26 |
+EAPI=7 |
27 |
|
28 |
inherit autotools toolchain-funcs multilib-minimal |
29 |
|
30 |
@@ -41,7 +41,7 @@ multilib_src_compile() { |
31 |
|
32 |
multilib_src_test() { |
33 |
if multilib_is_native_abi ; then |
34 |
- if [ -d /sys/devices/system/node ]; then |
35 |
+ if [[ -d /sys/devices/system/node ]] ; then |
36 |
einfo "The only generically safe test is regress2." |
37 |
einfo "The other test cases require 2 NUMA nodes." |
38 |
emake regress2 |
39 |
@@ -54,12 +54,12 @@ multilib_src_test() { |
40 |
multilib_src_install() { |
41 |
emake DESTDIR="${D}" \ |
42 |
install$(multilib_is_native_abi || echo "-libLTLIBRARIES install-includeHEADERS") |
43 |
- find "${ED%/}"/usr/ -name libnuma.la -delete || die |
44 |
+ find "${ED}"/usr/ -type f -name libnuma.la -delete || die |
45 |
} |
46 |
|
47 |
multilib_src_install_all() { |
48 |
local DOCS=( README.md ) |
49 |
einstalldocs |
50 |
# delete man pages provided by the man-pages package #238805 |
51 |
- rm -r "${ED%/}"/usr/share/man/man[25] || die |
52 |
+ rm -r "${ED}"/usr/share/man/man[25] || die |
53 |
} |