From c3899a8d02b9551460a5c95253e38e368da4fb53 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Tue, 6 Apr 2021 00:26:10 +0200 Subject: app-emulation/pcem: Set WX_GTK_VER before inherit Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert --- app-emulation/pcem/pcem-17.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'app-emulation/pcem') diff --git a/app-emulation/pcem/pcem-17.ebuild b/app-emulation/pcem/pcem-17.ebuild index 71bb036ec266..02406aa065d4 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[@]}" -- cgit v1.2.3-65-gdbad