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

This commit is contained in:
Alexander Tsoy
2018-06-23 00:17:14 +02:00
committed by Patrice Clement
parent 4ca0547326
commit e468f4514c
+2 -8
View File
@@ -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