commit:     c6976c3054343ccc8c292acf3e8e897b93d21471
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  9 08:41:20 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct  9 09:03:36 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6976c30

dev-dotnet/ndesk-dbus: Fix compat with mono-4

Package-Manager: portage-2.3.1

 dev-dotnet/ndesk-dbus/ndesk-dbus-0.6.1a.ebuild | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/dev-dotnet/ndesk-dbus/ndesk-dbus-0.6.1a.ebuild 
b/dev-dotnet/ndesk-dbus/ndesk-dbus-0.6.1a.ebuild
index b7d6156..92da367 100644
--- a/dev-dotnet/ndesk-dbus/ndesk-dbus-0.6.1a.ebuild
+++ b/dev-dotnet/ndesk-dbus/ndesk-dbus-0.6.1a.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-inherit mono
+EAPI=6
+inherit mono-env
 
 DESCRIPTION="Managed D-Bus Implementation for .NET"
 HOMEPAGE="http://www.ndesk.org/DBusSharp";
@@ -13,12 +14,16 @@ SLOT="0"
 KEYWORDS="amd64 ppc x86"
 IUSE=""
 
-RDEPEND=">=dev-lang/mono-1.2.4
-       >=sys-apps/dbus-1"
+RDEPEND="
+       >=dev-lang/mono-1.2.4
+       >=sys-apps/dbus-1
+"
 DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+       virtual/pkgconfig
+"
 
-src_install() {
-       emake DESTDIR="${D}" install || die "emake install failed."
-       dodoc AUTHORS README
+src_prepare() {
+       default
+       # mono-4 compat
+       sed -i "s#gmcs#mcs#g" configure
 }

Reply via email to