commit:     66678f3cf2a76f71a0bbf06917904714bf5d32dc
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  5 22:26:13 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Apr  5 22:26:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66678f3c

app-text/diff-pdf: 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-text/diff-pdf/diff-pdf-0.4.1-r2.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/app-text/diff-pdf/diff-pdf-0.4.1-r2.ebuild 
b/app-text/diff-pdf/diff-pdf-0.4.1-r2.ebuild
index 0a5bdf8683f..ec808cb9bab 100644
--- a/app-text/diff-pdf/diff-pdf-0.4.1-r2.ebuild
+++ b/app-text/diff-pdf/diff-pdf-0.4.1-r2.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-# No EAPI=7 support in wxwidgets.eclass.
 EAPI=7
 
+WX_GTK_VER="3.0-gtk3"
 inherit autotools wxwidgets
 
 DESCRIPTION="A simple tool for visually comparing two PDF files"
@@ -29,7 +29,7 @@ IUSE=""
 DEPEND="app-text/poppler[cairo]
        dev-libs/glib
        x11-libs/cairo
-       x11-libs/wxGTK:3.0-gtk3[X]"
+       x11-libs/wxGTK:${WX_GTK_VER}[X]"
 RDEPEND="${DEPEND}"
 
 PATCHES=( "${FILESDIR}/${P}-no-poppler-cairo-check.patch" )
@@ -40,7 +40,6 @@ src_prepare() {
 }
 
 src_configure() {
-       WX_GTK_VER="3.0-gtk3"
        setup-wxwidgets
        default
 }

Reply via email to