summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc')
-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