commit:     b43a709e94395428c1ebf239ad7654e8678a2ab1
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  2 09:22:16 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Jul  2 09:22:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b43a709e

app-misc/mc: Upstream removed "--with-homedir" option

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 app-misc/mc/mc-9999.ebuild | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/app-misc/mc/mc-9999.ebuild b/app-misc/mc/mc-9999.ebuild
index 5f6d6304939..0c868d11135 100644
--- a/app-misc/mc/mc-9999.ebuild
+++ b/app-misc/mc/mc-9999.ebuild
@@ -21,7 +21,7 @@ HOMEPAGE="https://www.midnight-commander.org";
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="+edit gpm nls samba sftp +slang spell test unicode X +xdg"
+IUSE="+edit gpm nls samba sftp +slang spell test unicode X"
 
 REQUIRED_USE="spell? ( edit )"
 
@@ -65,7 +65,6 @@ src_configure() {
        local myeconfargs=(
                --enable-charset
                --enable-vfs
-               --with-homedir=$(usex xdg 'XDG' '.mc')
                --with-screen=$(usex slang 'slang' "ncurses$(usex unicode 'w' 
'')")
                $(use_enable kernel_linux vfs-undelfs)
                # Today mclib does not expose any headers and is linked to
@@ -102,11 +101,6 @@ src_install() {
                fowners root:tty /usr/libexec/mc/cons.saver
                fperms g+s /usr/libexec/mc/cons.saver
        fi
-
-       if ! use xdg ; then
-               sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \
-                       -i "${ED}"/usr/libexec/mc/ext.d/*.sh || die
-       fi
 }
 
 pkg_postinst() {

Reply via email to