]> git.pld-linux.org Git - packages/dotnet-gnome-sharp.git/blame - dotnet-gnome-sharp-mint.patch
- applied upstream
[packages/dotnet-gnome-sharp.git] / dotnet-gnome-sharp-mint.patch
CommitLineData
2ab7186f 1--- gtk-sharp-2.5.91/configure.in.orig 2005-10-14 13:09:21.000000000 +0200
2+++ gtk-sharp-2.5.91/configure.in 2005-10-14 13:13:32.000000000 +0200
3@@ -87,6 +87,7 @@
4
5 MONO_REQUIRED_VERSION=1.0
6 PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false)
7+PKG_CHECK_MODULES(MINT_DEPENDENCY, mint >= $MONO_REQUIRED_VERSION, has_mint=true, has_mint=false)
8
9 AC_PATH_PROG(GACUTIL, gacutil, no)
10 if test "x$GACUTIL" = "xno" ; then
11@@ -111,6 +112,20 @@
12 else
13 enable_dotnet=no
14 fi
15+elif test "x$has_mint" = "xtrue"; then
16+dnl use mint if mono is not found
17+GACUTIL_FLAGS='/package $(PACKAGE_VERSION) /root $(DESTDIR)$(prefix)/lib'
18+GENERATED_SOURCES=generated/*.cs
19+AC_PATH_PROG(RUNTIME, mint, no)
20+AC_PATH_PROG(CSC, mcs, no)
21+LIB_PREFIX=.so
22+LIB_SUFFIX=
23+SDCHECK="`$GACUTIL /l |grep ^System.Drawing, | head -n1 |cut -f1 -d','`"
24+if test "x$SDCHECK" = "xSystem.Drawing"; then
25+ enable_dotnet=yes
26+else
27+ enable_dotnet=no
28+fi
29 else
30 AC_PATH_PROG(CSC, csc.exe, no)
31 GACUTIL_FLAGS=
This page took 0.080225 seconds and 4 git commands to generate.