Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 930170
Collapse All | Expand All

(-)a/dev-libs/protobuf/protobuf-21.12.ebuild (-2 / +7 lines)
Lines 72-80 src_compile() { Link Here
72
multilib_src_install_all() {
72
multilib_src_install_all() {
73
	find "${ED}" -name "*.la" -delete || die
73
	find "${ED}" -name "*.la" -delete || die
74
74
75
	if [[ ! -f "${ED}/usr/$(get_libdir)/libprotobuf.so.${SLOT#*/}" ]]; then
75
	if [[ ${CHOST} == *-darwin* ]]; then
76
		local lib_filename="${ED}/usr/$(get_libdir)/libprotobuf.${SLOT#*/}.dylib"
77
	else
78
		local lib_filename="${ED}/usr/$(get_libdir)/libprotobuf.so.${SLOT#*/}"
79
	fi
80
	if [[ ! -f "${lib_filename}" ]]; then
76
		eerror "No matching library found with SLOT variable, currently set: ${SLOT}\n" \
81
		eerror "No matching library found with SLOT variable, currently set: ${SLOT}\n" \
77
			"Expected value: ${ED}/usr/$(get_libdir)/libprotobuf.so.${SLOT#*/}"
82
			"Expected value: ${lib_filename}"
78
		die "Please update SLOT variable"
83
		die "Please update SLOT variable"
79
	fi
84
	fi
80
85

Return to bug 930170