commit: c3899a8d02b9551460a5c95253e38e368da4fb53
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 5 22:26:10 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Apr 5 22:26:10 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3899a8d
app-emulation/pcem: Set WX_GTK_VER before inherit
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap <AT> gentoo.org>
app-emulation/pcem/pcem-17.ebuild | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/app-emulation/pcem/pcem-17.ebuild
b/app-emulation/pcem/pcem-17.ebuild
index 71bb036ec26..02406aa065d 100644
--- a/app-emulation/pcem/pcem-17.ebuild
+++ b/app-emulation/pcem/pcem-17.ebuild
@@ -3,9 +3,8 @@
EAPI=7
-inherit autotools desktop flag-o-matic wxwidgets
-
WX_GTK_VER="3.0-gtk3"
+inherit autotools desktop flag-o-matic wxwidgets
DESCRIPTION="A PC emulator that specializes in running old operating systems
and software"
HOMEPAGE="
@@ -41,6 +40,8 @@ src_prepare() {
}
src_configure() {
+ setup-wxwidgets
+
# Does not compile with -fno-common.
# See https://pcem-emulator.co.uk/phpBB3/viewtopic.php?f=3&t=3443
append-cflags -fcommon
@@ -49,6 +50,7 @@ src_configure() {
--enable-release-build
$(use_enable alsa)
$(use_enable networking)
+ --with-wx-config="${WX_CONFIG}"
)
econf "${myeconfargs[@]}"