mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-util/hipify-clang: fix resource search path, add depends
Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43406 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
0d21830203
commit
10d16be406
@ -23,6 +23,7 @@ DEPEND="
|
||||
llvm-core/llvm:${LLVM_SLOT}=
|
||||
')
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-5.7.1-fix-clang-libs.patch"
|
||||
@ -33,6 +34,9 @@ src_prepare() {
|
||||
sed -i 's:/../libexec/hipify::' \
|
||||
bin/hipconvertinplace.sh bin/hipconvertinplace-perl.sh \
|
||||
bin/hipexamine-perl.sh bin/hipexamine.sh || die
|
||||
|
||||
# Set clang resource prefix to /usr/lib/clang/...
|
||||
sed -i 's:/lib/llvm/lib/clang/:/lib/clang/:' src/main.cpp || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
Loading…
x
Reference in New Issue
Block a user