summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2012-06-22 12:07:45 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2012-06-22 12:07:45 +0000
commit35d4e8b131deed22603549c796113797527fd419 (patch)
tree603172926280e4fc54d1a62f61aa8952413ede27 /app-misc/mc
parentAdd patch from upstream to fix build with GCC 4.7, wrt bug #422583. Migrate t... (diff)
downloadgentoo-2-35d4e8b131deed22603549c796113797527fd419.tar.gz
gentoo-2-35d4e8b131deed22603549c796113797527fd419.tar.bz2
gentoo-2-35d4e8b131deed22603549c796113797527fd419.zip
Added USE=sftp for sftp support (uses net-libs/libssh2 for it).
(Portage version: 2.2.0_alpha110_p5/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/mc')
-rw-r--r--app-misc/mc/ChangeLog6
-rw-r--r--app-misc/mc/mc-9999.ebuild6
-rw-r--r--app-misc/mc/metadata.xml1
3 files changed, 10 insertions, 3 deletions
diff --git a/app-misc/mc/ChangeLog b/app-misc/mc/ChangeLog
index 02fddee6dbd3..d6c6ec30131b 100644
--- a/app-misc/mc/ChangeLog
+++ b/app-misc/mc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/mc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.257 2012/06/04 22:05:16 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.258 2012/06/22 12:07:45 slyfox Exp $
+
+ 22 Jun 2012; Sergei Trofimovich <slyfox@gentoo.org> mc-9999.ebuild,
+ metadata.xml:
+ Added USE=sftp for sftp support (uses net-libs/libssh2 for it).
04 Jun 2012; Alexey Shvetsov <alexxy@gentoo.org> mc-4.8.3-r2.ebuild:
[app-misc/mc] Works on ~amd64-fbsd
diff --git a/app-misc/mc/mc-9999.ebuild b/app-misc/mc/mc-9999.ebuild
index 689468845e39..f17b08b83d08 100644
--- a/app-misc/mc/mc-9999.ebuild
+++ b/app-misc/mc/mc-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-9999.ebuild,v 1.6 2012/05/03 19:41:32 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-9999.ebuild,v 1.7 2012/06/22 12:07:45 slyfox Exp $
EAPI=4
@@ -24,12 +24,13 @@ HOMEPAGE="http://www.midnight-commander.org"
LICENSE="GPL-3"
SLOT="0"
-IUSE="+edit gpm mclib nls samba +slang test X +xdg"
+IUSE="+edit gpm mclib nls samba sftp +slang test X +xdg"
RDEPEND=">=dev-libs/glib-2.8:2
gpm? ( sys-libs/gpm )
kernel_linux? ( sys-fs/e2fsprogs )
samba? ( net-fs/samba )
+ sftp? ( net-libs/libssh2 )
slang? ( >=sys-libs/slang-2 )
!slang? ( sys-libs/ncurses )
X? ( x11-libs/libX11
@@ -79,6 +80,7 @@ src_configure() {
--enable-charset \
$(use_with X x) \
$(use_enable samba vfs-smb) \
+ $(use_enable sftp vfs-sftp) \
$(use_with gpm gpm-mouse) \
--with-screen=${myscreen} \
$(use_with edit) \
diff --git a/app-misc/mc/metadata.xml b/app-misc/mc/metadata.xml
index 33496fe19c5f..c4885491b844 100644
--- a/app-misc/mc/metadata.xml
+++ b/app-misc/mc/metadata.xml
@@ -13,6 +13,7 @@
<use>
<flag name="edit">Compile and install the mcedit application</flag>
<flag name="mclib">Compile and install the libmc.so shared library</flag>
+ <flag name="sftp">Add support for sftp (uses <pkg>net-libs/libssh2</pkg> for it).</flag>
<flag name="slang">Use <pkg>sys-libs/slang</pkg> instead of <pkg>sys-libs/ncurses</pkg>.</flag>
<flag name="xdg">Toggles mc's config dir location. Enable for $XDG_CONFIG_HOME/mc, disable for $HOME/.mc</flag>
</use>