forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bless-0.6.0-mono-4.patch
36 lines (30 loc) · 969 Bytes
/
bless-0.6.0-mono-4.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff --git a/builder/ModuleBuilder.cs b/builder/ModuleBuilder.cs
index 0f62e92..7edb1ab 100644
--- a/builder/ModuleBuilder.cs
+++ b/builder/ModuleBuilder.cs
@@ -119,7 +119,7 @@ public class ModuleBuilder
//System.Console.WriteLine("gmcs {0}", sb.ToString());
System.Console.WriteLine(">> Building module {0}...", module.Name);
- Process buildProcess = Process.Start("gmcs", sb.ToString());
+ Process buildProcess = Process.Start("mcs", sb.ToString());
buildProcess.WaitForExit();
if (buildProcess.ExitCode == 0) {
@@ -137,4 +137,4 @@ public class ModuleBuilder
}
-}
\ No newline at end of file
+}
diff --git a/configure.ac b/configure.ac
index 415cc64..a8e527c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,9 +24,9 @@ if test "x$PKG_CONFIG" = "xno"; then
fi
# C# compiler
-AC_PATH_PROG(MCS, gmcs, no)
+AC_PATH_PROG(MCS, mcs, no)
-CS="gmcs C#"
+CS="mcs C#"
if test "x$MCS" = "xno" ; then
AC_MSG_ERROR([No $CS compiler found])
fi