dev-dotnet/nini: Fix compat with mono-4
authorPacho Ramos <pacho@gentoo.org>
Sun, 9 Oct 2016 08:48:07 +0000 (10:48 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 9 Oct 2016 09:03:50 +0000 (11:03 +0200)
Package-Manager: portage-2.3.1

dev-dotnet/nini/nini-1.1.0-r2.ebuild

index b828a7ee7ed023da4a542f5907f90fe42f9090d2..2ccc1bc1f841c6a08408cb8ae8867d6326599723 100644 (file)
@@ -1,9 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=2
-
+EAPI=5
 inherit mono multilib versionator
 
 DESCRIPTION="Nini - A configuration library for .NET"
@@ -18,21 +17,21 @@ IUSE="debug"
 RDEPEND=">=dev-lang/mono-2"
 DEPEND="${RDEPEND}
        app-arch/sharutils
-       sys-apps/sed"
+"
 
-S=${WORKDIR}/Nini/Source
+S="${WORKDIR}/Nini/Source"
 
 src_prepare() {
-       uudecode -o Nini.snk "${FILESDIR}"/Nini.snk.uue
+       uudecode -o Nini.snk "${FILESDIR}"/Nini.snk.uue || die
 }
 
 src_configure() {
-       use debug&&DEBUG="-debug"
+       use debug && DEBUG="-debug"
 }
 
 src_compile() {
        #See nini in Debian for info
-       gmcs    ${DEBUG} \
+       mcs     ${DEBUG} \
                -nowarn:1616 \
                -target:library \
                -out:Nini.dll \