commit:     85bf86f0ee5b866e8e67271ff283e933368148af
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 15 05:25:51 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Jun 15 05:27:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85bf86f0

sys-apps/hwloc: EPREFIX -> ESYSROOT for cuda

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 sys-apps/hwloc/hwloc-1.11.13.ebuild | 6 +++---
 sys-apps/hwloc/hwloc-2.3.0.ebuild   | 6 +++---
 sys-apps/hwloc/hwloc-2.5.0.ebuild   | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sys-apps/hwloc/hwloc-1.11.13.ebuild 
b/sys-apps/hwloc/hwloc-1.11.13.ebuild
index f9b7aae544d..151384ff11a 100644
--- a/sys-apps/hwloc/hwloc-1.11.13.ebuild
+++ b/sys-apps/hwloc/hwloc-1.11.13.ebuild
@@ -43,8 +43,8 @@ src_prepare() {
        eautoreconf
 
        if use cuda ; then
-               append-cflags -I"${EPREFIX}"/opt/cuda/include
-               append-cppflags -I"${EPREFIX}"/opt/cuda/include
+               append-cflags -I"${ESYSROOT}"/opt/cuda/include
+               append-cppflags -I"${ESYSROOT}"/opt/cuda/include
        fi
 }
 
@@ -53,7 +53,7 @@ multilib_src_configure() {
 
        if use cuda ; then
                local -x LDFLAGS="${LDFLAGS}"
-               append-ldflags -L"${EPREFIX}"/opt/cuda/$(get_libdir)
+               append-ldflags -L"${ESYSROOT}"/opt/cuda/$(get_libdir)
        fi
 
        ECONF_SOURCE=${S} econf \

diff --git a/sys-apps/hwloc/hwloc-2.3.0.ebuild 
b/sys-apps/hwloc/hwloc-2.3.0.ebuild
index 6756f4000ac..f98a08eb4cd 100644
--- a/sys-apps/hwloc/hwloc-2.3.0.ebuild
+++ b/sys-apps/hwloc/hwloc-2.3.0.ebuild
@@ -48,8 +48,8 @@ src_prepare() {
        eautoreconf
 
        if use cuda ; then
-               append-cflags "-I${EPREFIX}/opt/cuda/include"
-               append-cppflags "-I${EPREFIX}/opt/cuda/include"
+               append-cflags "-I${ESYSROOT}/opt/cuda/include"
+               append-cppflags "-I${ESYSROOT}/opt/cuda/include"
        fi
 }
 
@@ -58,7 +58,7 @@ multilib_src_configure() {
 
        if use cuda ; then
                local -x LDFLAGS="${LDFLAGS}"
-               append-ldflags "-L${EPREFIX}/opt/cuda/$(get_libdir)"
+               append-ldflags "-L${ESYSROOT}/opt/cuda/$(get_libdir)"
        fi
 
        local myconf=(

diff --git a/sys-apps/hwloc/hwloc-2.5.0.ebuild 
b/sys-apps/hwloc/hwloc-2.5.0.ebuild
index 6756f4000ac..f98a08eb4cd 100644
--- a/sys-apps/hwloc/hwloc-2.5.0.ebuild
+++ b/sys-apps/hwloc/hwloc-2.5.0.ebuild
@@ -48,8 +48,8 @@ src_prepare() {
        eautoreconf
 
        if use cuda ; then
-               append-cflags "-I${EPREFIX}/opt/cuda/include"
-               append-cppflags "-I${EPREFIX}/opt/cuda/include"
+               append-cflags "-I${ESYSROOT}/opt/cuda/include"
+               append-cppflags "-I${ESYSROOT}/opt/cuda/include"
        fi
 }
 
@@ -58,7 +58,7 @@ multilib_src_configure() {
 
        if use cuda ; then
                local -x LDFLAGS="${LDFLAGS}"
-               append-ldflags "-L${EPREFIX}/opt/cuda/$(get_libdir)"
+               append-ldflags "-L${ESYSROOT}/opt/cuda/$(get_libdir)"
        fi
 
        local myconf=(

Reply via email to