Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/ndesk-dbus/
Date: Sun, 09 Oct 2016 09:04:28
Message-Id: 1476003816.c6976c3054343ccc8c292acf3e8e897b93d21471.pacho@gentoo
1 commit: c6976c3054343ccc8c292acf3e8e897b93d21471
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 9 08:41:20 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 9 09:03:36 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6976c30
7
8 dev-dotnet/ndesk-dbus: Fix compat with mono-4
9
10 Package-Manager: portage-2.3.1
11
12 dev-dotnet/ndesk-dbus/ndesk-dbus-0.6.1a.ebuild | 21 +++++++++++++--------
13 1 file changed, 13 insertions(+), 8 deletions(-)
14
15 diff --git a/dev-dotnet/ndesk-dbus/ndesk-dbus-0.6.1a.ebuild b/dev-dotnet/ndesk-dbus/ndesk-dbus-0.6.1a.ebuild
16 index b7d6156..92da367 100644
17 --- a/dev-dotnet/ndesk-dbus/ndesk-dbus-0.6.1a.ebuild
18 +++ b/dev-dotnet/ndesk-dbus/ndesk-dbus-0.6.1a.ebuild
19 @@ -1,8 +1,9 @@
20 -# Copyright 1999-2012 Gentoo Foundation
21 +# Copyright 1999-2016 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23 # $Id$
24
25 -inherit mono
26 +EAPI=6
27 +inherit mono-env
28
29 DESCRIPTION="Managed D-Bus Implementation for .NET"
30 HOMEPAGE="http://www.ndesk.org/DBusSharp"
31 @@ -13,12 +14,16 @@ SLOT="0"
32 KEYWORDS="amd64 ppc x86"
33 IUSE=""
34
35 -RDEPEND=">=dev-lang/mono-1.2.4
36 - >=sys-apps/dbus-1"
37 +RDEPEND="
38 + >=dev-lang/mono-1.2.4
39 + >=sys-apps/dbus-1
40 +"
41 DEPEND="${RDEPEND}
42 - virtual/pkgconfig"
43 + virtual/pkgconfig
44 +"
45
46 -src_install() {
47 - emake DESTDIR="${D}" install || die "emake install failed."
48 - dodoc AUTHORS README
49 +src_prepare() {
50 + default
51 + # mono-4 compat
52 + sed -i "s#gmcs#mcs#g" configure
53 }