commit:     3fdfcfa70f768c67f7cf080424c7f83ace30efe4
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  9 08:43:25 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct  9 09:03:45 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fdfcfa7

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

Package-Manager: portage-2.3.1

 .../ndesk-dbus-glib/ndesk-dbus-glib-0.4.1.ebuild   | 27 +++++++++++-----------
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/dev-dotnet/ndesk-dbus-glib/ndesk-dbus-glib-0.4.1.ebuild 
b/dev-dotnet/ndesk-dbus-glib/ndesk-dbus-glib-0.4.1.ebuild
index 3cec3cf..93a4d59 100644
--- a/dev-dotnet/ndesk-dbus-glib/ndesk-dbus-glib-0.4.1.ebuild
+++ b/dev-dotnet/ndesk-dbus-glib/ndesk-dbus-glib-0.4.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=3
-inherit mono multilib
+EAPI=6
+inherit mono-env
 
 DESCRIPTION="glib integration for DBus-Sharp"
 HOMEPAGE="http://www.ndesk.org/DBusSharp";
@@ -12,17 +12,18 @@ 
SRC_URI="http://www.ndesk.org/archive/dbus-sharp/${P}.tar.gz";
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 ppc x86"
-IUSE="debug"
+IUSE=""
 
-RDEPEND=">=dev-lang/mono-1.2.4
-                >=dev-dotnet/ndesk-dbus-0.4"
+RDEPEND="
+       >=dev-lang/mono-1.2.4
+       >=dev-dotnet/ndesk-dbus-0.4
+"
 DEPEND="${RDEPEND}
-               virtual/pkgconfig"
+       virtual/pkgconfig
+"
 
-src_compile() {
-       emake || die "make failed"
-}
-
-src_install() {
-       emake DESTDIR="${D}" install || die "install failed"
+src_prepare() {
+       default
+       # mono-4 compat
+       sed -i "s#gmcs#mcs#g" configure || die
 }

Reply via email to