diff options
Diffstat (limited to 'dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch')
| -rw-r--r-- | dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch b/dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch new file mode 100644 index 00000000000..323224ad1c7 --- /dev/null +++ b/dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch @@ -0,0 +1,33 @@ +--- configure.ac.orig 2011-01-29 21:02:19.646030407 +0100 ++++ configure.ac 2011-01-29 21:12:00.156516831 +0100 +@@ -91,6 +91,12 @@ + # Check for Mono support + ########################### + ++AC_ARG_ENABLE([mono], ++ AC_HELP_STRING([--disable-mono], [Disable Mono bindings generation]), ++ [enable_mono=$enableval], enable_mono=auto) ++AM_CONDITIONAL([WANT_MONO], [test "x$enable_mono" != "xno"]) ++ ++if test "x$enable_mono" != "xno" ; then + MONO_REQUIRED_VERSION=1.0 + PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false) + +@@ -141,6 +147,7 @@ + AC_SUBST(GAPI_CODEGEN) + AC_PATH_PROG(GAPI_FIXUP, gapi2-fixup, no) + AC_SUBST(GAPI_FIXUP) ++fi + + ########################### + # Check for Python support +--- bindings/Makefile.am.orig 2011-01-29 21:10:05.095991987 +0100 ++++ bindings/Makefile.am 2011-01-29 21:11:06.349142195 +0100 +@@ -1,2 +1,6 @@ ++if WANT_MONO ++MONO_SUBDIR = mono ++endif ++ +-SUBDIRS = mono python ++SUBDIRS = $(MONO_SUBDIR) python + |
