Package: coco-cs
Version: 20110419-1
Severity: wishlist
User: debian-...@lists.debian.org
Usertags: mono-2.10-transition mono-2.10-transition-gmcs
Tags: patch

The package coco-cs requires gmcs to build.
In mono 2.10, currently in experimental, the default csharp compiler
will change from gmcs to dmcs.
mono-gmcs will not be installed by mono-devel anymore.

Relevant part of the buildlog:
gmcs /out:Coco.exe /t:exe Coco.cs Scanner.cs Tab.cs DFA.cs ParserGen.cs
Parser.cs
make[1]: gmcs: Command not found

Attached patch fixes this issue by using the default compiler.
If it requires gmcs it will need to build depend on mono-gmcs.

For more information see [0,1] or visit #debian-cli

[0] http://wiki.debian.org/Teams/DebianMonoGroup/Mono210Transition
[1] http://www.mono-project.com/CSharp_Compiler

--- Makefile.orig       2011-05-21 15:09:57.840598054 +0000
+++ Makefile    2011-05-21 15:07:12.950598086 +0000
@@ -1,5 +1,5 @@
 all:
-       gmcs /out:Coco.exe /t:exe Coco.cs Scanner.cs Tab.cs DFA.cs ParserGen.cs Parser.cs 
+       mono-csc /out:Coco.exe /t:exe Coco.cs Scanner.cs Tab.cs DFA.cs ParserGen.cs Parser.cs 
 
 clean:
        rm -f Coco.exe

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to