ifolder/net-misc/simias/files/simias-1.9.1-mono24-1.patch
2013-04-20 08:40:33 +02:00

48 lines
1.5 KiB
Diff

Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
Date: 2010-01-30
Initial Package Version: 3.8.0.9328.1
Origin: me
Upstream Status: unknown
Description: build with mono22
diff -uNr simias-1.9.1.7638.orig/configure.in simias-1.9.1.7638/configure.in
--- simias-1.9.1.7638.orig/configure.in 2013-04-17 15:58:17.743474516 +0200
+++ simias-1.9.1.7638/configure.in 2013-04-17 15:59:52.822285868 +0200
@@ -31,15 +31,15 @@
linux*)
SIMIAS_OS='linux'
if test "$runasclient" = "TRUE"; then
- AC_CHECK_PROG(CSC, mcs, mcs)
- AC_CHECK_PROG(WSDL, wsdl1, wsdl1,wsdl)
+ AC_CHECK_PROG(CSC, gmcs, gmcs)
+ AC_CHECK_PROG(WSDL, wsdl2, wsdl2,wsdl)
else
- AC_CHECK_PROG(WSDL, wsdl, wsdl,wsdl)
+ AC_CHECK_PROG(WSDL, wsdl2, wsdl2,wsdl)
if pkg-config --atleast-version=2.4 mono > /dev/null 2>&1
then
AC_CHECK_PROG(CSC, gmcs, gmcs)
else
- AC_CHECK_PROG(CSC, mcs, mcs)
+ AC_CHECK_PROG(CSC, gmcs, gmcs)
fi
fi
test -z "$CSC" && AC_MSG_ERROR([no C Sharp compiler: gmcs not found in \$PATH])
@@ -75,14 +75,14 @@
if test "$host_os" = "darwin"; then
AM_CONDITIONAL(MONO, test "$CSC" = "gmcs")
else
- AM_CONDITIONAL(MONO, test "$CSC" = "mcs")
+ AM_CONDITIONAL(MONO, test "$CSC" = "gmcs")
fi
else
if pkg-config --atleast-version=2.4 mono > /dev/null 2>&1
then
AM_CONDITIONAL(MONO, test "$CSC" = "gmcs")
else
- AM_CONDITIONAL(MONO, test "$CSC" = "mcs")
+ AM_CONDITIONAL(MONO, test "$CSC" = "gmcs")
fi
fi
AM_CONDITIONAL(DOTNET, test "$CSC" = "csc")