--- /usr/portage/dev-lang/erlang/erlang-20.3.2.ebuild 2018-04-21 15:15:58.756458584 +0200 +++ /usr/portage-local/dev-lang/erlang/erlang-20.3.2-r1.ebuild 2018-04-21 15:44:43.097063309 +0200 @@ -21,7 +21,7 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" -IUSE="dirty-schedulers doc emacs hipe java kpoll libressl odbc smp sctp ssl systemd tk" +IUSE="dirty-schedulers doc emacs hipe java kpoll libressl odbc smp sctp ssl systemd tk wxwidgets" REQUIRED_USE="dirty-schedulers? ( smp )" #621610 RDEPEND=" @@ -39,8 +39,7 @@ sctp? ( net-misc/lksctp-tools ) sys-libs/zlib tk? ( dev-lang/tk ) - x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] - virtual/glu + wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] virtual/glu ) " S="${WORKDIR}/otp-OTP-${PV}" @@ -129,7 +128,7 @@ } src_configure() { - need-wxwidgets unicode + use wxwidgets && need-wxwidgets unicode econf \ --disable-builtin-zlib \ @@ -144,6 +143,7 @@ $(use_with ssl ssl-rpath "no") \ $(use_enable ssl dynamic-ssl-lib) \ $(use_enable systemd) \ + $(use_with wxwidgets wx) \ --enable-threads }