Skip to content

Commit

Permalink
dev-dotnet/ndesk-dbus-glib: Fix compat with mono-4
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.1
  • Loading branch information
pacho2 committed Oct 9, 2016
1 parent 643e3fa commit 3fdfcfa
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions dev-dotnet/ndesk-dbus-glib/ndesk-dbus-glib-0.4.1.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
}

0 comments on commit 3fdfcfa

Please sign in to comment.