commit:     e468f4514cb7d5ebdd3fa6374cb33386cbbb7eb3
Author:     Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Mon Jun 18 18:16:16 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Jun 22 22:17:14 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e468f451

net-p2p/amule: switch to setup-wxwidgets()

 net-p2p/amule/amule-2.3.2-r2.ebuild | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/net-p2p/amule/amule-2.3.2-r2.ebuild 
b/net-p2p/amule/amule-2.3.2-r2.ebuild
index cdf1f021c6c..e219e45a08b 100644
--- a/net-p2p/amule/amule-2.3.2-r2.ebuild
+++ b/net-p2p/amule/amule-2.3.2-r2.ebuild
@@ -41,6 +41,8 @@ pkg_setup() {
                einfo "to compile aMule Statistics GUI."
                einfo "I will now compile console versions only."
        fi
+
+       setup-wxwidgets
 }
 
 pkg_preinst() {
@@ -53,14 +55,6 @@ pkg_preinst() {
 src_configure() {
        local myconf
 
-       if use X; then
-               einfo "wxGTK with X support will be used"
-               need-wxwidgets unicode
-       else
-               einfo "wxGTK without X support will be used"
-               need-wxwidgets base-unicode
-       fi
-
        if use X; then
                use stats && myconf="${myconf}
                        --enable-wxcas

Reply via email to