commit:     4ab4047446df77e8b7f28377f2602340315648ae
Author:     Nils 'bash0r' Jonsson <aka.bash0r <AT> gmail <DOT> com>
AuthorDate: Wed Aug 13 00:09:11 2014 +0000
Commit:     Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Wed Aug 13 00:09:11 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/dotnet.git;a=commit;h=4ab40474

Added fix for 3.4.0 sources.

---
 dev-lang/mono/mono-3.4.0.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/dev-lang/mono/mono-3.4.0.ebuild b/dev-lang/mono/mono-3.4.0.ebuild
index a06c7f5..5178f9a 100644
--- a/dev-lang/mono/mono-3.4.0.ebuild
+++ b/dev-lang/mono/mono-3.4.0.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2";
 LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception 
IDPL"
 SLOT="0"
 
-KEYWORDS="" #~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
 
 IUSE="nls minimal pax_kernel xen doc debug"
 
@@ -93,6 +93,15 @@ src_configure() {
        )
 
        autotools-utils_src_configure
+       
+       # FIX for uncompilable 3.4.0 sources
+       
FF="${WORKDIR}/mono-3.4.0/mcs/tools/xbuild/targets/Microsoft.Portable.Common.targets"
+       rm -f $FF
+       touch $FF
+       echo '<Project 
xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>' >> $FF
+       echo '    <Import Project="..\\Microsoft.Portable.Core.props" />' >> $FF
+       echo '    <Import Project="..\\Microsoft.Portable.Core.targets" />' >> 
$FF
+       echo '</Project>' >> $FF
 }
 
 src_compile() {

Reply via email to