ifolder/net-misc/simias/files/simias-1.8-mono22-3.patch
2009-04-20 07:57:02 +00:00

39 lines
1.3 KiB
Diff

diff -uNr simias.orig/configure.in simias/configure.in
--- simias.orig/configure.in 2009-04-20 09:26:07.736014674 +0200
+++ simias/configure.in 2009-04-20 09:31:35.060549522 +0200
@@ -22,13 +22,13 @@
case $host_os in
linux*)
SIMIAS_OS='linux'
- AC_CHECK_PROG(CSC, mcs, mcs)
- test -z "$CSC" && AC_MSG_ERROR([no C Sharp compiler: mcs not found in \$PATH])
+ AC_CHECK_PROG(CSC, gmcs, gmcs)
+ test -z "$CSC" && AC_MSG_ERROR([no C Sharp compiler: gmcs not found in \$PATH])
PKG_CONFIG_DIR="$LIB64"
AC_CHECK_PROG(CSC2, gmcs, gmcs)
test -z "$CSC" && AC_MSG_ERROR([no C Sharp .Net 2.0 compiler: gmcs not found in \$PATH])
PKG_CONFIG_DIR="$LIB64"
- AC_CHECK_PROG(WSDL, wsdl1, wsdl1,wsdl)
+ AC_CHECK_PROG(WSDL, wsdl2, wsdl2)
;;
darwin*)
SIMIAS_OS='darwin'
@@ -53,7 +53,7 @@
AM_CONDITIONAL(WINDOWS, test "$SIMIAS_OS" = "windows")
AM_CONDITIONAL(DARWIN, test "$SIMIAS_OS" = "darwin")
AM_CONDITIONAL(DARWIN_X86, test "$host_cpu" = "i686")
-AM_CONDITIONAL(MONO, test "$CSC" = "mcs")
+AM_CONDITIONAL(MONO, test "$CSC" = "gmcs")
AM_CONDITIONAL(DOTNET, test "$CSC" = "csc")
@@ -126,7 +126,7 @@
#
# Mono-specific configuration
#
- mcs)
+ gmcs)
CSC_EXEFLAG=/target:exe
CSC_LIBFLAG=/target:library
CSC_WINEXEFLAG=/target:winexe