Package: activiz.net
Version: 1:1.0~git20111123-1
User: [email protected]
Usertags: mono-2.10-transition mono-2.10-transition-gmcs
Tags: patch

The package activiz.net requires csc 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.

CMake Error at CMakeLists.txt:113 (MESSAGE):
  error: C# compiler not found.  csc_EXECUTABLE='csc_EXECUTABLE-NOTFOUND'

Please use the default compiler mono-csc or explicitly build depend on
an appropriate version of 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
Description: use debians default csharp compiler

--- activiz.net-1.0~git20111123.orig/CMakeLists.txt
+++ activiz.net-1.0~git20111123/CMakeLists.txt
@@ -107,7 +107,7 @@ ENDIF(AVDN_BUILD_CSHARP_DEBUG)
 INCLUDE("${Mummy_DIR}/FindCsharp.cmake")
 
 IF(NOT csc_EXECUTABLE)
-  FIND_PROGRAM(csc_EXECUTABLE csc)
+  FIND_PROGRAM(csc_EXECUTABLE mono-csc)
 ENDIF(NOT csc_EXECUTABLE)
 IF(NOT csc_EXECUTABLE)
   MESSAGE(FATAL_ERROR "error: C# compiler not found. 
csc_EXECUTABLE='${csc_EXECUTABLE}'")

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to