Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 680212 Details for
Bug 762454
meson.eclass: needs to understand different libdirs for different ROOTs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
test.patch
test.patch (text/plain), 1.48 KB, created by
David Michael
on 2020-12-29 19:02:59 UTC
(
hide
)
Description:
test.patch
Filename:
MIME Type:
Creator:
David Michael
Created:
2020-12-29 19:02:59 UTC
Size:
1.48 KB
patch
obsolete
>--- eclass/meson.eclass >+++ eclass/meson.eclass >@@ -248,7 +248,7 @@ > objcpp_args = $(_meson_env_array "${BUILD_OBJCXXFLAGS} ${BUILD_CPPFLAGS}") > objcpp_link_args = $(_meson_env_array "${BUILD_OBJCXXFLAGS} ${BUILD_LDFLAGS}") > needs_exe_wrapper = false >- pkg_config_libdir = '${BUILD_PKG_CONFIG_LIBDIR:-${EPREFIX}/usr/$(get_libdir)/pkgconfig}' >+ pkg_config_libdir = '${BUILD_PKG_CONFIG_LIBDIR:-${EPREFIX}/usr/$(get_libdir $([[ $EAPI == 6 ]] || echo -b))/pkgconfig}' > > [build_machine] > system = '${system}' >--- /usr/lib/portage/python3.8/phase-helpers.sh >+++ /usr/lib/portage/python3.8/phase-helpers.sh >@@ -940,12 +940,25 @@ > > if ___eapi_has_get_libdir; then > get_libdir() { >- local libdir_var="LIBDIR_${ABI}" >- local libdir="lib" >+ local -a cmd=() > >- [[ -n ${ABI} && -n ${!libdir_var} ]] && libdir=${!libdir_var} >+ if [[ $1 = -b ]]; then >+ ___eapi_best_version_and_has_version_support_-b_-d_-r || >+ die "${FUNCNAME[1]}: option -b is not supported with EAPI ${EAPI}" > >- echo "${libdir}" >+ if ___eapi_has_prefix_variables; then >+ cmd+=(env -i PORTAGE_CONFIGROOT="/${PORTAGE_OVERRIDE_EPREFIX#/}") >+ else >+ cmd+=(env -i PORTAGE_CONFIGROOT=/) >+ fi >+ fi >+ >+# [[ -n $PORTAGE_IPC_DAEMON ]] && cmd+=("${PORTAGE_BIN_PATH}/ebuild-ipc") || >+ cmd+=("${PORTAGE_BIN_PATH}/ebuild-helpers/portageq") >+ >+ local abi=$("${cmd[@]}" envvar ABI 2>/dev/null) >+ local libdir_abi=$("${cmd[@]}" envvar "LIBDIR_${abi}" 2>/dev/null) >+ [[ -n ${abi} && -n ${libdir_abi} ]] && echo ${libdir_abi} || echo lib > } > 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 762454
: 680212