Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 774021 - x11-libs/wxGTK: EAPI 7 request, fix cross-compiling
Summary: x11-libs/wxGTK: EAPI 7 request, fix cross-compiling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2021-03-03 00:26 UTC by David Michael
Modified: 2021-03-26 20:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix.patch (0001-x11-libs-wxGTK-EAPI-7.patch,5.82 KB, patch)
2021-03-03 00:28 UTC, David Michael
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Michael 2021-03-03 00:26:57 UTC
The configure call causes libdir to be hard-coded to /usr/lib in the wx-config script, which makes its --prefix option not work.

This updates to EAPI 7 and puts the eselect package in BDEPEND and RDEPEND.  It was in PDEPEND, but it didn't seem to have a circular dependency requiring that.  (It needs to be in IDEPEND, and then the has_version checks can be dropped.)
Comment 1 David Michael 2021-03-03 00:28:37 UTC
Created attachment 689169 [details, diff]
fix.patch
Comment 2 Larry the Git Cow gentoo-dev 2021-03-26 20:32:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aadc671c3f00c820904dab3fa14b26c968a39876

commit aadc671c3f00c820904dab3fa14b26c968a39876
Author:     David Michael <fedora.dm0@gmail.com>
AuthorDate: 2021-03-26 20:31:39 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-03-26 20:31:39 +0000

    x11-libs/wxGTK: EAPI 7
    
    This fixes the wx-config script's --prefix option to work with
    libdir as well.
    
    Closes: https://github.com/gentoo/gentoo/pull/20045
    Closes: https://bugs.gentoo.org/774021
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: David Michael <fedora.dm0@gmail.com>
    Signed-off-by: David Seifert <soap@gentoo.org>

 x11-libs/wxGTK/wxGTK-3.0.4-r303.ebuild | 166 +++++++++++++++++++++++++++++++++
 1 file changed, 166 insertions(+)