From b8bb62f24882f4db3f16b80b650bc4c575223e0b Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 15 May 2019 08:45:52 +0100 Subject: app-misc/mc: drop USE=mclib, bug #685938 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Today mclib does not expose any headers and is linked to single 'mc' binary. Thus there is no advantage of having a library. Let's avoid shared library altogether as it also conflicts with sci-libs/mc. Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/685938 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich --- app-misc/mc/mc-4.8.22.ebuild | 8 ++++++-- app-misc/mc/mc-9999.ebuild | 8 ++++++-- app-misc/mc/metadata.xml | 1 - 3 files changed, 12 insertions(+), 5 deletions(-) (limited to 'app-misc/mc') diff --git a/app-misc/mc/mc-4.8.22.ebuild b/app-misc/mc/mc-4.8.22.ebuild index f8cbc5a2c392..1e7d94b10815 100644 --- a/app-misc/mc/mc-4.8.22.ebuild +++ b/app-misc/mc/mc-4.8.22.ebuild @@ -14,7 +14,7 @@ SRC_URI="http://ftp.midnight-commander.org/${MY_P}.tar.xz" LICENSE="GPL-3" SLOT="0" KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" -IUSE="+edit gpm mclib nls samba sftp +slang spell test unicode X +xdg" +IUSE="+edit gpm nls samba sftp +slang spell test unicode X +xdg" REQUIRED_USE="spell? ( edit )" @@ -57,7 +57,11 @@ src_configure() { --with-homedir=$(usex xdg 'XDG' '.mc') --with-screen=$(usex slang 'slang' "ncurses$(usex unicode 'w' '')") $(use_enable kernel_linux vfs-undelfs) - $(use_enable mclib) + # Today mclib does not expose any headers and is linked to + # single 'mc' binary. Thus there is no advantage of having + # a library. Let's avoid shared library altogether + # as it also conflicts with sci-libs/mc: bug #685938 + --disable-mclib $(use_enable nls) $(use_enable samba vfs-smb) $(use_enable sftp vfs-sftp) diff --git a/app-misc/mc/mc-9999.ebuild b/app-misc/mc/mc-9999.ebuild index d27af1106ec4..a8a30b230b1c 100644 --- a/app-misc/mc/mc-9999.ebuild +++ b/app-misc/mc/mc-9999.ebuild @@ -23,7 +23,7 @@ HOMEPAGE="https://www.midnight-commander.org" LICENSE="GPL-3" SLOT="0" -IUSE="+edit gpm mclib nls samba sftp +slang spell test unicode X +xdg" +IUSE="+edit gpm nls samba sftp +slang spell test unicode X +xdg" REQUIRED_USE="spell? ( edit )" @@ -70,7 +70,11 @@ src_configure() { --with-homedir=$(usex xdg 'XDG' '.mc') --with-screen=$(usex slang 'slang' "ncurses$(usex unicode 'w' '')") $(use_enable kernel_linux vfs-undelfs) - $(use_enable mclib) + # Today mclib does not expose any headers and is linked to + # single 'mc' binary. Thus there is no advantage of having + # a library. Let's avoid shared library altogether + # as it also conflicts with sci-libs/mc: bug #685938 + --disable-mclib $(use_enable nls) $(use_enable samba vfs-smb) $(use_enable sftp vfs-sftp) diff --git a/app-misc/mc/metadata.xml b/app-misc/mc/metadata.xml index 35fa1001c11e..5c99ff657dde 100644 --- a/app-misc/mc/metadata.xml +++ b/app-misc/mc/metadata.xml @@ -15,7 +15,6 @@ Compile and install the mcedit application - Compile and install the libmc.so shared library Add support for sftp (uses net-libs/libssh2 for it). Use sys-libs/slang instead of sys-libs/ncurses. Toggles mc's config dir location. Enable for $XDG_CONFIG_HOME/mc, disable for $HOME/.mc -- cgit v1.2.3-65-gdbad