Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 891015 Details for
Bug 930170
dev-libs/protobuf: the SLOT check does not consider macOS-style ".dylib" suffix
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
the proposed patch
protobuf-darwin-dylib.patch (text/plain), 886 bytes, created by
ZongyuZ
on 2024-04-17 20:26:02 UTC
(
hide
)
Description:
the proposed patch
Filename:
MIME Type:
Creator:
ZongyuZ
Created:
2024-04-17 20:26:02 UTC
Size:
886 bytes
patch
obsolete
>diff --git a/dev-libs/protobuf/protobuf-21.12.ebuild b/dev-libs/protobuf/protobuf-21.12.ebuild >index 3672570cf..899a34cfb 100644 >--- a/dev-libs/protobuf/protobuf-21.12.ebuild >+++ b/dev-libs/protobuf/protobuf-21.12.ebuild >@@ -72,9 +72,14 @@ src_compile() { > multilib_src_install_all() { > find "${ED}" -name "*.la" -delete || die > >- if [[ ! -f "${ED}/usr/$(get_libdir)/libprotobuf.so.${SLOT#*/}" ]]; then >+ if [[ ${CHOST} == *-darwin* ]]; then >+ local lib_filename="${ED}/usr/$(get_libdir)/libprotobuf.${SLOT#*/}.dylib" >+ else >+ local lib_filename="${ED}/usr/$(get_libdir)/libprotobuf.so.${SLOT#*/}" >+ fi >+ if [[ ! -f "${lib_filename}" ]]; then > eerror "No matching library found with SLOT variable, currently set: ${SLOT}\n" \ >- "Expected value: ${ED}/usr/$(get_libdir)/libprotobuf.so.${SLOT#*/}" >+ "Expected value: ${lib_filename}" > die "Please update SLOT variable" > fi >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 930170
: 891015 |
891016
|
891017