summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/rocr-runtime/rocr-runtime-5.4.3-r1.ebuild (renamed from dev-libs/rocr-runtime/rocr-runtime-5.4.3.ebuild)5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-libs/rocr-runtime/rocr-runtime-5.4.3.ebuild b/dev-libs/rocr-runtime/rocr-runtime-5.4.3-r1.ebuild
index f408d4213314..f6a8a5598f2a 100644
--- a/dev-libs/rocr-runtime/rocr-runtime-5.4.3.ebuild
+++ b/dev-libs/rocr-runtime/rocr-runtime-5.4.3-r1.ebuild
@@ -44,6 +44,11 @@ src_prepare() {
# Gentoo installs "*.bc" to "/usr/lib" instead of a "[path]/bitcode" directory ...
sed -e "s:-O2:--rocm-path=${EPREFIX}/usr/lib/ -O2:" -i image/blit_src/CMakeLists.txt || die
+ # internal version depends on git being present and random weird magic, otherwise fallback to incoherent default value
+ # fix default value to be more better
+
+ sed -i -e "s:1.7.0:${PV}:" CMakeLists.txt || die
+
cmake_src_prepare
}