commit:     cb7489f235ca4977b054a87769fb3bd75716e63e
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 29 22:20:15 2017 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Sun Jan 29 22:34:13 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb7489f2

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(-)

diff --git a/net-misc/mosh/mosh-9999.ebuild b/net-misc/mosh/mosh-9999.ebuild
index ee079b8..a26290a 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
 

Reply via email to