Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 533498 Details for
Bug 552500
app-eselect/eselect-wxwidgets-20140423: does not respect libdir
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for wxwidgets.eselect
wxwidgets.eselect.patch (text/plain), 1.73 KB, created by
Ulrich Müller
on 2018-05-27 10:41:40 UTC
(
hide
)
Description:
Patch for wxwidgets.eselect
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2018-05-27 10:41:40 UTC
Size:
1.73 KB
patch
obsolete
>diff --git a/modules/wxwidgets.eselect b/modules/wxwidgets.eselect >index 55d49d2..8d8782c 100644 >--- a/modules/wxwidgets.eselect >+++ b/modules/wxwidgets.eselect >@@ -1,15 +1,29 @@ > # -*-eselect-*- vim: ft=eselect >-# Copyright 1999-2014 Gentoo Foundation >+# Copyright 1999-2018 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > >-inherit config >+inherit config package-manager > > DESCRIPTION="Manage the system default wxWidgets profile" > MAINTAINER="wxwidgets@gentoo.org" > VERSION="20140423" > > WXCONFFILE="${EROOT}"/var/lib/wxwidgets/current >-WXCONFDIR="${EROOT}"/usr/lib/wx/config >+ >+# get_libdir >+# Print the libdir name obtained according to PMS algorithm 12.5 >+# !!! This function is included here only for testing, and will >+# !!! be added to libs/package-manager.bash.in of eselect instead >+get_libdir() { >+ local abi libdir >+ abi=$(envvar sys-devel/gcc ABI) >+ [[ -n ${abi} ]] && libdir=$(envvar sys-devel/gcc "LIBDIR_${abi}") >+ echo "${libdir:-lib}" >+} >+ >+get_confdir() { >+ echo "${EROOT}/usr/$(get_libdir)/wx/config" >+} > > find_targets() { > local conf >@@ -89,6 +103,7 @@ describe_list() { > } > > do_list() { >+ local WXCONFDIR=$(get_confdir) > local i targets currconf > targets=( $(find_targets) ) > [[ -e ${WXCONFFILE} ]] && currconf=$(load_config ${WXCONFFILE} WXCONFIG) >@@ -123,6 +138,7 @@ do_set() { > [[ ! -w "${EROOT}"/var/lib/ ]] \ > && die -q "You need write permission to /var/lib to perform this action." > >+ local WXCONFDIR=$(get_confdir) > set_config "${1}" > } > >@@ -133,6 +149,7 @@ describe_update() { > do_update() { > [[ ! -e ${WXCONFFILE} ]] && do_set none > >+ local WXCONFDIR=$(get_confdir) > currconf=$(load_config ${WXCONFFILE} WXCONFIG) > > # if current config is valid leave it alone
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 552500
:
517028
|
533498
|
534030