the USE flag "tk" in the package dev-lang/erlang does not affect the built package at all from erlang-23.0.ebuild: IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets" tk? ( dev-lang/tk:0 ) No configuration options for TK in the Makefile. Reproducible: Always
I wonder if erlang used to use tk's autoconf macros to detect socket libraries: lib/odbc/configure.in: tk_oldLibs=$LIBS lib/odbc/configure.in: AC_CHECK_FUNC(accept, odbc_erl_checkNsl=0, [LIBS=$tk_oldLibs]) ... erts/configure.in:LIBS="$tk_oldLibs $SOCKET_LIBS" erts/configure.in:LIBS="$tk_oldLibs $SOCKET_LIBS" Let's drop the dependency.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3547a19e1730c69e7e83aab01a63147e1d5f0dc9 commit 3547a19e1730c69e7e83aab01a63147e1d5f0dc9 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-07-01 21:43:32 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-07-01 21:43:32 +0000 dev-lang/erlang: drop unused dev-lang/tk dependency Reported-by: xgqt@protonmail.com Closes: https://bugs.gentoo.org/730048 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-lang/erlang/erlang-21.1.1.ebuild | 3 +-- dev-lang/erlang/erlang-22.3.2.ebuild | 1 - dev-lang/erlang/erlang-22.3.4.ebuild | 1 - dev-lang/erlang/erlang-23.0.1.ebuild | 1 - 4 files changed, 1 insertion(+), 5 deletions(-)