ifolder/net-misc/simias/files/simias-1.8-mono22-5.patch

47 lines
1.6 KiB
Diff
Raw Normal View History

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 -Naur ifolder3-enterprise-3.8.0.9328.1.orig/configure.in ifolder3-enterprise-3.8.0.9328.1/configure.in
--- ifolder3-enterprise-3.8.0.9328.1.orig/configure.in 2009-12-03 07:36:11.000000000 +0000
+++ ifolder3-enterprise-3.8.0.9328.1/configure.in 2010-01-30 15:33:18.812160514 +0000
@@ -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])
@@ -72,13 +72,13 @@
AM_CONDITIONAL(DARWIN, test "$SIMIAS_OS" = "darwin")
AM_CONDITIONAL(DARWIN_X86, test "$host_cpu" = "i686")
if test "$runasclient" = "TRUE"; then
- AM_CONDITIONAL(MONO, test "$CSC" = "mcs")
+ AM_CONDITIONAL(MONO, test "$CSC" = "gmcs")
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")