ifolder/net-misc/ifolder3/files/ifolder-3.7-mono22-1.patch
geos_one 572ced7c3f rename
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/ifolder@1632 6952d904-891a-0410-993b-d76249ca496b
2009-12-05 13:17:57 +00:00

45 lines
2.0 KiB
Diff

diff -uNr ifolder.orig/configure.in ifolder/configure.in
--- ifolder.orig/configure.in 2009-04-06 11:37:50.085948127 +0200
+++ ifolder/configure.in 2009-04-06 11:38:29.039647854 +0200
@@ -42,8 +42,8 @@
case $host_os in
linux*)
IFOLDER_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} ;;
darwin*)
IFOLDER_OS='darwin'
@@ -68,7 +68,7 @@
AM_CONDITIONAL(LINUX, test "$IFOLDER_OS" = "linux")
AM_CONDITIONAL(WINDOWS, test "$IFOLDER_OS" = "windows")
AM_CONDITIONAL(DARWIN, test "$IFOLDER_OS" = "darwin")
-AM_CONDITIONAL(MONO, test "$CSC" = "mcs")
+AM_CONDITIONAL(MONO, test "$CSC" = "gmcs")
AM_CONDITIONAL(DOTNET, test "$CSC" = "csc")
@@ -102,7 +102,7 @@
#
# Mono-specific configuration
#
- mcs)
+ gmcs)
CSC_EXEFLAG=/target:exe
CSC_LIBFLAG=/target:library
CSC_WINEXEFLAG=/target:winexe
diff -uNr ifolder.orig/src/common/WebService/Makefile.am ifolder/src/common/WebService/Makefile.am
--- ifolder.orig/src/common/WebService/Makefile.am 2009-04-06 11:37:50.083637002 +0200
+++ ifolder/src/common/WebService/Makefile.am 2009-04-06 11:39:55.331276491 +0200
@@ -25,7 +25,7 @@
$(CSC) /out:$@ $(CSCFLAGS) $(iFolderWebService_FLAGS) $(SIMIAS_LIBS) $(SIMIAS_CLIENT_LIBS) $(iFolderWebService_LIBS:%=/r:%) $(iFolderWebService_LIBPATH:%=/lib:%) $(iFolderWebService_RESOURCES:%=$(ICON_FLAG)%) $(srcdir)/AssemblyInfo.cs $(iFolderWebService_CSFILES_CSC) $(DOC_FILE_CMD)
../iFolder/iFolderWebService.cs: iFolderWebService.wsdl
- wsdl -out:../iFolder/iFolderWebService.cs iFolderWebService.wsdl
+ wsdl2 -out:../iFolder/iFolderWebService.cs iFolderWebService.wsdl
iFolderWebService.wsdl: Novell.iFolder.Web.dll GenerateWsdl.exe copy
$(MONO) GenerateWsdl.exe Novell.iFolder.Web.dll Novell.iFolder.Web.iFolderService http://127.0.0.1:8086/simias10/iFolder.asmx $@