Package: sysinfo / 0.7-8

00-fix_build_system.patch Patch series | download
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Index: sysinfo-0.7/Sysinfo/Makefile.am
===================================================================
--- sysinfo-0.7.orig/Sysinfo/Makefile.am	2008-12-29 16:42:36.000000000 +0000
+++ sysinfo-0.7/Sysinfo/Makefile.am	2008-12-29 16:42:51.000000000 +0000
@@ -2,7 +2,7 @@
 # Warning: This is an automatically generated file, do not edit!
 
 if ENABLE_DEBUG
-ASSEMBLY_COMPILER_COMMAND = mcs
+ASSEMBLY_COMPILER_COMMAND = mono-csc
 ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -debug -d:DEBUG
 ASSEMBLY = ../bin/Debug/Sysinfo.exe
 COMPILE_TARGET = exe
@@ -12,7 +12,7 @@
 BUILD_DIR = ../bin/Debug
 endif
 if ENABLE_RELEASE
-ASSEMBLY_COMPILER_COMMAND = mcs
+ASSEMBLY_COMPILER_COMMAND = mono-csc
 ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4
 ASSEMBLY = ../bin/Release/Sysinfo.exe
 COMPILE_TARGET = exe
@@ -22,6 +22,7 @@
 BUILD_DIR = ../bin/Release
 endif
 
+MONO_CAIRO_LIBS = -r:Mono.Cairo.dll
 	
 all: $(ASSEMBLY)
 
Index: sysinfo-0.7/configure.ac
===================================================================
--- sysinfo-0.7.orig/configure.ac	2008-12-29 16:42:36.000000000 +0000
+++ sysinfo-0.7/configure.ac	2008-12-29 16:42:51.000000000 +0000
@@ -12,9 +12,9 @@
 
 AC_PROG_INSTALL
 
-AC_PATH_PROG(MCS, mcs, no)
+AC_PATH_PROG(MCS, mono-csc, no)
 if test "x$MCS" = "xno"; then
-        AC_MSG_ERROR([mcs Not found])
+        AC_MSG_ERROR([csc Not found])
 fi
 
 
@@ -66,4 +66,4 @@
 
 ])
 
-AC_OUTPUT
\ No newline at end of file
+AC_OUTPUT