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:
Sv. Lockal 2025-08-10 13:49:31 +00:00 committed by Sam James
parent 0d21830203
commit 10d16be406
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -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() {