Package: activiz.net
Version: 1:1.0~git20111123-1
Followup-For: Bug #655935
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

I think this can be rather easily achieved by just patching the upstream
CMakelist to look for "mono-csc" rather than just "csc". I've attached the
patch we've added in Ubuntu to resolve the issue.

Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-8-generic (SMP w/4 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
=== added file 'debian/patches/mono-csc-path.patch'
--- debian/patches/mono-csc-path.patch	1970-01-01 00:00:00 +0000
+++ debian/patches/mono-csc-path.patch	2012-01-12 12:44:08 +0000
@@ -0,0 +1,16 @@
+From: Mathieu Trudel-Lapierre <mathieu.trudel-lapie...@canonical.com>
+Subject: Fix name for the mono-csc compiler.
+
+Index: activiz.net/CMakeLists.txt
+===================================================================
+--- activiz.net.orig/CMakeLists.txt	2012-01-11 22:24:14.526700000 +0100
++++ activiz.net/CMakeLists.txt	2012-01-11 22:27:49.012160122 +0100
+@@ -107,7 +107,7 @@
+ 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}'")

=== modified file 'debian/patches/series'
--- debian/patches/series	2011-10-31 15:44:31 +0000
+++ debian/patches/series	2012-01-11 21:27:30 +0000
@@ -6,3 +6,4 @@
 doxygenversion.patch
 removedoxfromall.patch
 removeusersguide.patch
+mono-csc-path.patch

Reply via email to