From cb7489f235ca4977b054a87769fb3bd75716e63e Mon Sep 17 00:00:00 2001 From: Michael Weber Date: Sun, 29 Jan 2017 23:20:15 +0100 Subject: net-misc/mosh: Update live ebuild. Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- net-misc/mosh/mosh-9999.ebuild | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) (limited to 'net-misc/mosh') 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 -- cgit v1.2.3-18-g5258