Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/hwloc/
Date: Tue, 15 Jun 2021 05:28:37
Message-Id: 1623734840.85bf86f0ee5b866e8e67271ff283e933368148af.gyakovlev@gentoo
1 commit: 85bf86f0ee5b866e8e67271ff283e933368148af
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 15 05:25:51 2021 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 15 05:27:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85bf86f0
7
8 sys-apps/hwloc: EPREFIX -> ESYSROOT for cuda
9
10 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
11
12 sys-apps/hwloc/hwloc-1.11.13.ebuild | 6 +++---
13 sys-apps/hwloc/hwloc-2.3.0.ebuild | 6 +++---
14 sys-apps/hwloc/hwloc-2.5.0.ebuild | 6 +++---
15 3 files changed, 9 insertions(+), 9 deletions(-)
16
17 diff --git a/sys-apps/hwloc/hwloc-1.11.13.ebuild b/sys-apps/hwloc/hwloc-1.11.13.ebuild
18 index f9b7aae544d..151384ff11a 100644
19 --- a/sys-apps/hwloc/hwloc-1.11.13.ebuild
20 +++ b/sys-apps/hwloc/hwloc-1.11.13.ebuild
21 @@ -43,8 +43,8 @@ src_prepare() {
22 eautoreconf
23
24 if use cuda ; then
25 - append-cflags -I"${EPREFIX}"/opt/cuda/include
26 - append-cppflags -I"${EPREFIX}"/opt/cuda/include
27 + append-cflags -I"${ESYSROOT}"/opt/cuda/include
28 + append-cppflags -I"${ESYSROOT}"/opt/cuda/include
29 fi
30 }
31
32 @@ -53,7 +53,7 @@ multilib_src_configure() {
33
34 if use cuda ; then
35 local -x LDFLAGS="${LDFLAGS}"
36 - append-ldflags -L"${EPREFIX}"/opt/cuda/$(get_libdir)
37 + append-ldflags -L"${ESYSROOT}"/opt/cuda/$(get_libdir)
38 fi
39
40 ECONF_SOURCE=${S} econf \
41
42 diff --git a/sys-apps/hwloc/hwloc-2.3.0.ebuild b/sys-apps/hwloc/hwloc-2.3.0.ebuild
43 index 6756f4000ac..f98a08eb4cd 100644
44 --- a/sys-apps/hwloc/hwloc-2.3.0.ebuild
45 +++ b/sys-apps/hwloc/hwloc-2.3.0.ebuild
46 @@ -48,8 +48,8 @@ src_prepare() {
47 eautoreconf
48
49 if use cuda ; then
50 - append-cflags "-I${EPREFIX}/opt/cuda/include"
51 - append-cppflags "-I${EPREFIX}/opt/cuda/include"
52 + append-cflags "-I${ESYSROOT}/opt/cuda/include"
53 + append-cppflags "-I${ESYSROOT}/opt/cuda/include"
54 fi
55 }
56
57 @@ -58,7 +58,7 @@ multilib_src_configure() {
58
59 if use cuda ; then
60 local -x LDFLAGS="${LDFLAGS}"
61 - append-ldflags "-L${EPREFIX}/opt/cuda/$(get_libdir)"
62 + append-ldflags "-L${ESYSROOT}/opt/cuda/$(get_libdir)"
63 fi
64
65 local myconf=(
66
67 diff --git a/sys-apps/hwloc/hwloc-2.5.0.ebuild b/sys-apps/hwloc/hwloc-2.5.0.ebuild
68 index 6756f4000ac..f98a08eb4cd 100644
69 --- a/sys-apps/hwloc/hwloc-2.5.0.ebuild
70 +++ b/sys-apps/hwloc/hwloc-2.5.0.ebuild
71 @@ -48,8 +48,8 @@ src_prepare() {
72 eautoreconf
73
74 if use cuda ; then
75 - append-cflags "-I${EPREFIX}/opt/cuda/include"
76 - append-cppflags "-I${EPREFIX}/opt/cuda/include"
77 + append-cflags "-I${ESYSROOT}/opt/cuda/include"
78 + append-cppflags "-I${ESYSROOT}/opt/cuda/include"
79 fi
80 }
81
82 @@ -58,7 +58,7 @@ multilib_src_configure() {
83
84 if use cuda ; then
85 local -x LDFLAGS="${LDFLAGS}"
86 - append-ldflags "-L${EPREFIX}/opt/cuda/$(get_libdir)"
87 + append-ldflags "-L${ESYSROOT}/opt/cuda/$(get_libdir)"
88 fi
89
90 local myconf=(