commit:     f3be5edbe2675ee61c00cb1c11113c9afe145ae0
Author:     Wilfried Holzke <gentoo <AT> holzke <DOT> net>
AuthorDate: Sun Aug 23 09:09:09 2020 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sun Aug 23 14:47:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3be5edb

dev-libs/rocclr: Correction of a path in a cmake file

Signed-off-by: Wilfried Holzke <gentoo <AT> holzke.net>
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Closes: https://github.com/gentoo/gentoo/pull/17231
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 dev-libs/rocclr/{rocclr-3.7.0.ebuild => rocclr-3.7.0-r1.ebuild} | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-libs/rocclr/rocclr-3.7.0.ebuild 
b/dev-libs/rocclr/rocclr-3.7.0-r1.ebuild
similarity index 83%
rename from dev-libs/rocclr/rocclr-3.7.0.ebuild
rename to dev-libs/rocclr/rocclr-3.7.0-r1.ebuild
index 13316648b27..04b209388e3 100644
--- a/dev-libs/rocclr/rocclr-3.7.0.ebuild
+++ b/dev-libs/rocclr/rocclr-3.7.0-r1.ebuild
@@ -34,3 +34,10 @@ src_configure() {
        )
        cmake_src_configure
 }
+
+src_install() {
+       cmake_src_install
+
+       # This should be fixed in the CMakeLists.txt
+       sed -e "s:${BUILD_DIR}:${EPREFIX}/usr:" -i 
"${D}/usr/lib/cmake/rocclr/ROCclrConfig.cmake" || die
+}

Reply via email to