commit:     f87a29bb1142a6ffb7b68a5e04d11ab339ffeec9
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 22:28:38 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 22:28:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f87a29bb

app-editors/xmlcopyeditor: Port to EAPI 7

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../xmlcopyeditor/xmlcopyeditor-1.2.1.3-r1.ebuild        | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.1.3-r1.ebuild 
b/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.1.3-r1.ebuild
index 6c22d7318ea..740c3a09313 100644
--- a/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.1.3-r1.ebuild
+++ b/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.1.3-r1.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-WX_GTK_VER="3.0"
+EAPI=7
 
+WX_GTK_VER="3.0"
 inherit autotools wxwidgets xdg
 
 DESCRIPTION="XML Copy Editor is a fast, free, validating XML editor"
@@ -21,12 +21,10 @@ RDEPEND="
        dev-libs/libxslt
        dev-libs/xerces-c[icu]
        dev-libs/libpcre
-       x11-libs/wxGTK:${WX_GTK_VER}[X]
-"
+       x11-libs/wxGTK:${WX_GTK_VER}[X]"
 DEPEND="${RDEPEND}
-       dev-libs/boost
-       dev-util/intltool
-"
+       dev-libs/boost"
+BDEPEND="dev-util/intltool"
 
 PATCHES=( "${FILESDIR}"/${P}-no-automagic-enchant.patch )
 
@@ -40,5 +38,7 @@ src_prepare() {
 
 src_configure() {
        setup-wxwidgets unicode
-       econf $(use_enable nls)
+       econf \
+               --with-wx-config="${WX_CONFIG}" \
+               $(use_enable nls)
 }

Reply via email to