summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-01-31 08:59:11 +0100
committerMichał Górny <mgorny@gentoo.org>2020-01-31 09:08:00 +0100
commitbb051d386e7091b324782e36895411f777a6dd89 (patch)
treef094b900972098018633030fe16df3a1e18b55c9 /dev-libs
parentdev-embedded/arduino: Fix AbsoluteSymlink (diff)
downloadgentoo-bb051d386e7091b324782e36895411f777a6dd89.tar.gz
gentoo-bb051d386e7091b324782e36895411f777a6dd89.tar.bz2
gentoo-bb051d386e7091b324782e36895411f777a6dd89.zip
dev-libs/hsa-ext-rocr: Fix dosym calls
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/hsa-ext-rocr/hsa-ext-rocr-1.1.9.122.ebuild4
-rw-r--r--dev-libs/hsa-ext-rocr/hsa-ext-rocr-1.1.9.139.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/dev-libs/hsa-ext-rocr/hsa-ext-rocr-1.1.9.122.ebuild b/dev-libs/hsa-ext-rocr/hsa-ext-rocr-1.1.9.122.ebuild
index d53be71a1351..f59a78fc872e 100644
--- a/dev-libs/hsa-ext-rocr/hsa-ext-rocr-1.1.9.122.ebuild
+++ b/dev-libs/hsa-ext-rocr/hsa-ext-rocr-1.1.9.122.ebuild
@@ -39,7 +39,7 @@ src_install() {
into "${destdir}"
for solib in ${solibs_to_install[@]}; do
dolib.so "opt/rocm/hsa/lib/${solib}.${soversion}"
- dosym "${EPREFIX}/${destdir}/$(get_libdir)/${solib}.${soversion}" "${EPREFIX}/usr/$(get_libdir)/${solib}.${soversion}"
- dosym "${solib}.${soversion}" "${EPREFIX}/usr/$(get_libdir)/${solib}.${somajor}"
+ dosym "../../${destdir}/$(get_libdir)/${solib}.${soversion}" "/usr/$(get_libdir)/${solib}.${soversion}"
+ dosym "${solib}.${soversion}" "/usr/$(get_libdir)/${solib}.${somajor}"
done
}
diff --git a/dev-libs/hsa-ext-rocr/hsa-ext-rocr-1.1.9.139.ebuild b/dev-libs/hsa-ext-rocr/hsa-ext-rocr-1.1.9.139.ebuild
index 2d88906c9636..ae183be35e81 100644
--- a/dev-libs/hsa-ext-rocr/hsa-ext-rocr-1.1.9.139.ebuild
+++ b/dev-libs/hsa-ext-rocr/hsa-ext-rocr-1.1.9.139.ebuild
@@ -39,7 +39,7 @@ src_install() {
into "${destdir}"
for solib in ${solibs_to_install[@]}; do
dolib.so "opt/rocm/hsa/lib/${solib}.${soversion}"
- dosym "${EPREFIX}/${destdir}/$(get_libdir)/${solib}.${soversion}" "${EPREFIX}/usr/$(get_libdir)/${solib}.${soversion}"
- dosym "${solib}.${soversion}" "${EPREFIX}/usr/$(get_libdir)/${solib}.${somajor}"
+ dosym "../..${destdir}/$(get_libdir)/${solib}.${soversion}" "/usr/$(get_libdir)/${solib}.${soversion}"
+ dosym "${solib}.${soversion}" "/usr/$(get_libdir)/${solib}.${somajor}"
done
}