summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2017-01-29 23:20:15 +0100
committerMichael Weber <xmw@gentoo.org>2017-01-29 23:34:13 +0100
commitcb7489f235ca4977b054a87769fb3bd75716e63e (patch)
treeae24b91f3413b5058606292bea3f9b07002be315 /net-misc/mosh
parentnet-misc/mosh: Drop old versions. (diff)
downloadgentoo-cb7489f235ca4977b054a87769fb3bd75716e63e.tar.gz
gentoo-cb7489f235ca4977b054a87769fb3bd75716e63e.tar.bz2
gentoo-cb7489f235ca4977b054a87769fb3bd75716e63e.zip
net-misc/mosh: Update live ebuild.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-misc/mosh')
-rw-r--r--net-misc/mosh/mosh-9999.ebuild36
1 files changed, 24 insertions, 12 deletions
diff --git a/net-misc/mosh/mosh-9999.ebuild b/net-misc/mosh/mosh-9999.ebuild
index ee079b890a3a..a26290a9ea89 100644
--- a/net-misc/mosh/mosh-9999.ebuild
+++ b/net-misc/mosh/mosh-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-inherit autotools bash-completion-r1 git-r3
+inherit autotools bash-completion-r1 eutils git-r3
DESCRIPTION="Mobile shell that supports roaming and intelligent local echo"
HOMEPAGE="http://mosh.mit.edu"
@@ -14,20 +14,36 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE="+client examples +mosh-hardening +server ufw +utempter"
-REQUIRED_USE="|| ( client server )
+
+REQUIRED_USE="
+ || ( client server )
examples? ( client )"
-RDEPEND="dev-libs/protobuf
+RDEPEND="
+ dev-libs/protobuf:0=
sys-libs/ncurses:0=
virtual/ssh
- client? ( dev-lang/perl
- dev-perl/IO-Tty )
- utempter? ( sys-libs/libutempter )"
+ client? (
+ dev-lang/perl
+ dev-perl/IO-Tty
+ )
+ utempter? (
+ sys-libs/libutempter
+ )"
+
DEPEND="${RDEPEND}
dev-vcs/git[curl]
virtual/pkgconfig"
+# [0] - avoid sandbox-violation calling git describe in Makefile
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.2.5-git-version.patch
+)
+
src_prepare() {
+ MAKEOPTS+=" V=1"
+ default
+
eautoreconf
}
@@ -42,10 +58,6 @@ src_configure() {
$(use_with utempter)
}
-src_compile() {
- emake V=1
-}
-
src_install() {
default